ci(minor): notify sentry about new releases
This commit is contained in:
parent
2a27325dfd
commit
a0261eafa3
|
@ -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/.*$/
|
||||||
|
|
Reference in a new issue