summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨威 <[email protected]>2019-05-21 16:36:08 +0800
committer杨威 <[email protected]>2019-05-21 16:36:08 +0800
commit2e7fc99f74f272e8e965d7b2dd2724bf80a4fbeb (patch)
tree670c4afe84bb33ee61cd621e071ee78e7cd9220d
parent648953e6dfdfd924d76cd77b211e5cec1b5e15e2 (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 02740ec..8272e48 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,7 +26,7 @@ build:
- ./build/*.rpm
.post_release_script: &post_release_script |
- curl --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: $CI_JOB_TOKEN" --data '{ "name": "$CI_PROJECT_NAME_$CI_COMMIT_TAG", "tag_name": "$CI_COMMIT_TAG", "description": "$CI_PROJECT_NAME $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/"
+ curl --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: $CI_JOB_TOKEN" --data '{ "name": "$CI_PROJECT_NAME_$CI_COMMIT_TAG", "tag_name": "$CI_COMMIT_TAG", "description": "$CI_PROJECT_NAME $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/$CI_COMMIT_TAG/assets/links"
release:
stage: release
tags: