summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨威 <[email protected]>2019-05-21 18:25:27 +0800
committer杨威 <[email protected]>2019-05-21 18:25:27 +0800
commitbe84f59cd7a3854ecbb2984fd801a2eacb985ec0 (patch)
treee61cdae207a14bd7d5614c4c2c0dd2dc6e80c239
parenta2bc7b931b0b32e529d6ddfd2aae89ed6e35abfe (diff)
Update .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a301c0d..7a60204 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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\", \"tag_name\": \"$CI_COMMIT_TAG.zip\", \"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/"""
+ 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/"""
release:
stage: release
tags: