try to upload release

This commit is contained in:
Wolfgang Hottgenroth 2019-05-17 18:03:20 +02:00
parent 86c8551368
commit debbfb6e3c
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

View File

@ -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"