Commit 801877da authored by Matthias Betz's avatar Matthias Betz
Browse files

repairing release CI

parent c948e023
Pipeline #306 passed with stage
in 35 seconds
......@@ -21,7 +21,7 @@ release:
- echo ${FILE_URL}
- 'DATA="{""name"": ""Release ${CI_COMMIT_TAG}"", ""tag_name"": ""${CI_COMMIT_TAG}"", ""description"": ""RegionChooser Release"", ""assets"": { ""links"": [{ ""name"": ""${FILE}"", ""url"": ""${CI_PROJECT_URL}${FILE_URL}""}] } }"'
- echo ${DATA}
- 'curl --header "Content-Type: application/json" --header "Private-Token: ${TOKEN}" --data ${DATA} --request POST ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/releases'
- 'curl --header "Content-Type: application/json" --header "Private-Token: ${TOKEN}" --data "${DATA}" --request POST ${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