ci(minor): use getsentry/sentry-cli for sentry notification, use set-commits
This commit is contained in:
parent
82d14f37c3
commit
1849a7c383
|
@ -136,12 +136,17 @@ package-helm:
|
||||||
- /^version/.*$/
|
- /^version/.*$/
|
||||||
|
|
||||||
notify-sentry:
|
notify-sentry:
|
||||||
image: alpine
|
image: getsentry/sentry-cli
|
||||||
stage: post-release
|
stage: post-release
|
||||||
|
variables:
|
||||||
|
SENTRY_URL: https://sentry.beryju.org
|
||||||
|
SENTRY_ORG: beryjuorg
|
||||||
|
SENTRY_PROJECT: passbook
|
||||||
before_script:
|
before_script:
|
||||||
- apk add curl
|
- apk add curl
|
||||||
script:
|
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:
|
only:
|
||||||
- tags
|
- tags
|
||||||
- /^version/.*$/
|
- /^version/.*$/
|
||||||
|
|
Reference in a new issue