diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce36743..4911458 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,10 +34,9 @@ release: variables: GIT_STRATEGY: none script: - - 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" } ] } }' - "https://gitlab.com/api/v4/projects/10877064/releases" + - git tag X + - git push --tags + - gitlabreleaseuploader.py -p $PRIVATE_TOKEN -i 10877064 -u https://gitlab.com/wolutator/rgbled + -f sketch.esp8266.esp8266.nodemcu.elf -n NewRelease -t X -d "blablabla"