summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨威 <[email protected]>2019-05-21 17:15:42 +0800
committer杨威 <[email protected]>2019-05-21 17:15:42 +0800
commit88f64588f39bce3482f828493b48a20ffffa8043 (patch)
tree5e5fc4a96f44c52c94a85924ab5ded5170ed7d3d
parentabb4ec2997b0cccd4be730c94282bba45d3c1404 (diff)
Update .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0595700..082eb2e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,11 +26,11 @@ build:
- ./build/*.rpm
.post_release_script: &post_release_script |
- echo -e ""curl --header "PRIVATE-TOKEN:" $CI_JOB_TOKEN --data name=$CI_PROJECT_NAME_$CI_COMMIT_TAG".zip" --data 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""
+ echo -e ""curl --header "PRIVATE-TOKEN:" $CI_JOB_TOKEN --data name=$CI_PROJECT_NAME_$CI_COMMIT_TAG".zip" --data 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"" >>./post.sh
release:
stage: release
tags:
- share
script:
- - *post_release_script >>./post.sh
+ - *post_release_script
- sh ./posh.sh \ No newline at end of file