test release again

This commit is contained in:
2019-04-30 16:05:42 +02:00
parent 9dc395030a
commit be1cb17048

View File

@ -30,15 +30,13 @@ release:
- docker - docker
dependencies: dependencies:
- build - build
only:
- master
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
script: script:
- curl --request POST - curl --request POST
--header "PRIVATE-TOKEN:$CI_JOB_TOKEN" \ --header "PRIVATE-TOKEN:$CI_JOB_TOKEN" \
--data name="awesume-v0.2.iso" \ --header "Content-Type:application/json" \
--data url="https://home.hottis.de" \ --data-raw '{ "name": "New release", "tag_name": "v0.4", "ref":"$CI_COMMIT_SHA", "description": "Super nice release", "assets": { "links": [ { "name": "hoge", "url": "https://google.com" } ] } }' \
"https://gitlab.com/api/v4/projects/10877064/releases/v0.1/assets/links" "https://gitlab.com/api/v4/projects/10877064/releases"