diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 130762c..8101d41 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,12 +31,12 @@ release: dependencies: - build variables: - GIT_STRATEGY: none + GIT_SUBMODULE_STRATEGY: recursive script: - curl --request POST --header "PRIVATE-TOKEN:$PRIVATE_TOKEN" --header "Content-Type:application/json" - --data-raw '{ "name":"New release", "tag_name":"v0.4", "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"