Commit 9ad00549 authored by Matthias Betz's avatar Matthias Betz
Browse files

Update .gitlab-ci.yml

parent 611790c1
Pipeline #284 failed
......@@ -19,7 +19,7 @@ release:
- echo ${UPLOAD_RESULT}
- FILE_URL = echo $UPLOAD_RESULT | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["url"]'
- echo ${FILE_URL}
- curl --request POST --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: ${TOKEN}" --data '{"name": "Release ${CI_COMMIT_TAG}", "tag_name": "${CI_COMMIT_TAG}", "description": "RegionChooser Release", "assets": { "links": [{ "name": "${FILE}", "url": "${CI_PROJECT_URL}${FILE_URL}"}] } }'
- curl --request POST --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: ${TOKEN}" --data '{"name": "Release ${CI_COMMIT_TAG}", "tag_name": "${CI_COMMIT_TAG}", "description": "RegionChooser Release", "assets": { "links": [{ "name": "${FILE}", "url": "${CI_PROJECT_URL}${FILE_URL}"}] } }' ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/releases
only:
refs:
- tags
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment