try to create release link

This commit is contained in:
2019-04-30 15:38:41 +02:00
parent 9beb0c781c
commit 0180254589

View File

@ -1,5 +1,6 @@
stages:
- build
- release
build:
stage: build
@ -20,6 +21,22 @@ build:
- cp sketch/sketch.esp8266.esp8266.nodemcu.* .
release:
stage: release
image: registry.gitlab.com/wolutator/base-build-env
tags:
- hottis
- linux
- docker
dependencies:
- build
variables:
GIT_STRATEGY: none
script:
- curl --request POST \
--header "PRIVATE-TOKEN: $CI_JOB_TOKEN" \
--data name="awesume-v0.2.iso" \
--data url="https://home.hottis.de" \
"https://gitlab.com/api/v4/projects/10877064/releases/v0.1/assets/links"