try add release

This commit is contained in:
Sebastian Hugentobler 2019-06-11 11:06:04 +02:00
parent 2120c03ffe
commit d9772e7f8a

View File

@ -1,14 +1,15 @@
image: golang:latest
default-job:
build:
script:
- make
dependencies: []
except:
- tags
release-job:
release:
script:
- make
- curl -H "PRIVATE-TOKEN: $CI_BUILD_TOKEN" "https://$CI_API_V4_URL/$CI_PROJECT_ID/releases"
artifacts:
paths:
- dist/*.tar.gz