ci(minor): use getsentry/sentry-cli for sentry notification, use set-commits

This commit is contained in:
Langhammer, Jens 2019-10-14 13:42:43 +02:00
parent 82d14f37c3
commit 1849a7c383
1 changed files with 7 additions and 2 deletions

View File

@ -136,12 +136,17 @@ package-helm:
- /^version/.*$/
notify-sentry:
image: alpine
image: getsentry/sentry-cli
stage: post-release
variables:
SENTRY_URL: https://sentry.beryju.org
SENTRY_ORG: beryjuorg
SENTRY_PROJECT: passbook
before_script:
- apk add curl
script:
- "curl $SENTRY_RELEASE -X POST -H 'Content-Type: application/json' -d '{\"version\": \"passbook@0.6.8-beta\"}'"
- sentry-cli releases new passbook@0.6.8-beta
- sentry-cli releases set-commits --auto passbook@0.6.8-beta
only:
- tags
- /^version/.*$/