prepare for use new uploader

This commit is contained in:
2019-05-30 13:26:09 +02:00
parent 13a6dac7c5
commit 0f21b68845
2 changed files with 12 additions and 7 deletions

View File

@ -31,12 +31,9 @@ release:
- docker - docker
dependencies: dependencies:
- build - build
# variables: only:
# GIT_STRATEGY: none - release
script: script:
- git tag X - gitlabreleaseuploader.py -p $PRIVATE_TOKEN -i $CI_PROJECT_ID -u $CI_PROJECT_URL
- git push --tags -f sketch.esp8266.esp8266.nodemcu.elf -F releaseInfo.json -T $CI_COMMIT_REF_NAME
- 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"

8
releaseInfo.json Normal file
View File

@ -0,0 +1,8 @@
{
"releaseTag": "v0.1",
"createReleaseTag": "true",
"releaseName": "Initial release",
"description": "Initial release"
}