diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e988cb4..c910463 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ release: - echo curl --request POST --header "PRIVATE-TOKEN:$PRIVATE_TOKEN" --header "Content-Type:application/json" - --data-raw '{ "name":"New release", "tag_name":"tag-$CI_COMMIT_SHORT_SHA", "ref":"$CI_COMMIT_SHA", "description":"Super nice release","assets":{ "links":[ { "name":"hoge", "url":"https://google.com" } ] } }' + --data-raw '{ "name":"New release", "tag_name":"tag-'$CI_COMMIT_SHORT_SHA'", "ref":"'$CI_COMMIT_SHA'", "description":"Super nice release","assets":{ "links":[ { "name":"hoge", "url":"https://google.com" } ] } }' "https://gitlab.com/api/v4/projects/10877064/releases"