Update .gitlab-ci.yml
This commit is contained in:
@@ -26,7 +26,7 @@ build:
|
||||
- ./build/*.rpm
|
||||
|
||||
.post_release_script: &post_release_script |
|
||||
echo -e "curl --header 'Content-Type: application/json' --header \"PRIVATE-TOKEN: ToRuds-b9AW2mgLH9-cX \" --data '{ \"name\": \"$CI_COMMIT_TAG.zip\", \"tag_name\": \"$CI_COMMIT_TAG\", \"description\": \"$CI_COMMIT_TAG release\", \"assets\": { \"links\": [{ \"name\": \"$CI_PROJECT_NAME_$CI_COMMIT_TAG.zip\", \"url\": \"$CI_JOB_URL/artifacts/$CI_COMMIT_TAG/download?job=$CI_JOB_NAME\" }] } }' --request POST $CI_API_V4_URL/projects/$CI_PROJECT_ID/releases/"""| /bin/bash
|
||||
echo -e "curl --header 'Content-Type: application/json' --header \"PRIVATE-TOKEN: ToRuds-b9AW2mgLH9-cX \" --data '{ \"name\": \"$CI_COMMIT_TAG.zip\", \"tag_name\": \"$CI_COMMIT_TAG\", \"description\": \"$CI_COMMIT_TAG release\", \"assets\": { \"links\": [{ \"name\": \"$CI_PROJECT_NAME_$CI_COMMIT_TAG.zip\", \"url\": \"$CI_JOB_URL/artifacts/$CI_COMMIT_TAG/download?job=build\" }] } }' --request POST $CI_API_V4_URL/projects/$CI_PROJECT_ID/releases/"""| /bin/bash
|
||||
release:
|
||||
stage: release
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user