ci(minor): notify sentry about new releases

This commit is contained in:
Langhammer, Jens 2019-10-14 13:16:36 +02:00
parent 2a27325dfd
commit a0261eafa3
1 changed files with 12 additions and 0 deletions

View File

@ -5,6 +5,7 @@ stages:
- test - test
- build - build
- package - package
- post-release
image: docker.beryju.org/passbook/dev:latest image: docker.beryju.org/passbook/dev:latest
variables: variables:
@ -133,3 +134,14 @@ package-helm:
only: only:
- tags - tags
- /^version/.*$/ - /^version/.*$/
notify-sentry:
image: alpine
stage: post-release
before_script:
- apk add curl
script:
- "curl $SENTRY_RELEASE -X POST -H 'Content-Type: application/json' -d '{\"version\": \"passbook@0.6.7-beta\"}'"
only:
- tags
- /^version/.*$/