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 image: golang:latest
default-job: build:
script: script:
- make - make
dependencies: [] dependencies: []
except: except:
- tags - tags
release-job: release:
script: script:
- make - make
- curl -H "PRIVATE-TOKEN: $CI_BUILD_TOKEN" "https://$CI_API_V4_URL/$CI_PROJECT_ID/releases"
artifacts: artifacts:
paths: paths:
- dist/*.tar.gz - dist/*.tar.gz