Commit cae16e3a authored by Richard Crosby's avatar Richard Crosby

fix: sentry releases

parent e450f238
Pipeline #24172 passed with stages
in 26 seconds
......@@ -8,11 +8,12 @@ sentry_release_production:
dependencies:
- build
script:
- npx @sentry/cli releases new "$CI_COMMIT_TAG"
- npx @sentry/cli releases files "$CI_COMMIT_TAG" upload-sourcemaps --rewrite ./build
- npx @sentry/cli releases set-commits --auto "$CI_COMMIT_TAG"
- npx @sentry/cli releases finalize "$CI_COMMIT_TAG"
- npx @sentry/cli releases deploys "$CI_COMMIT_TAG" new -e "$BBK_RUNTIME_ENVIRONMENT"
- yarn add --dev @sentry/cli
- yarn sentry-cli releases new "$CI_COMMIT_TAG"
- yarn sentry-cli releases files "$CI_COMMIT_TAG" upload-sourcemaps --rewrite ./build
- yarn sentry-cli releases set-commits --auto "$CI_COMMIT_TAG"
- yarn sentry-cli releases finalize "$CI_COMMIT_TAG"
- yarn sentry-cli releases deploys "$CI_COMMIT_TAG" new -e "$BBK_RUNTIME_ENVIRONMENT"
only:
- tags
......@@ -27,10 +28,11 @@ sentry_release_staging:
dependencies:
- build
script:
- npx @sentry/cli releases new "$CI_COMMIT_SHORT_SHA"
- npx @sentry/cli releases files "$CI_COMMIT_SHORT_SHA" upload-sourcemaps --rewrite ./build
- npx @sentry/cli releases set-commits --auto "$CI_COMMIT_SHORT_SHA"
- npx @sentry/cli releases finalize "$CI_COMMIT_SHORT_SHA"
- npx @sentry/cli releases deploys "$CI_COMMIT_SHORT_SHA" new -e "$BBK_RUNTIME_ENVIRONMENT"
- yarn add --dev @sentry/cli
- yarn sentry-cli releases new "$CI_COMMIT_SHORT_SHA"
- yarn sentry-cli releases files "$CI_COMMIT_SHORT_SHA" upload-sourcemaps --rewrite ./build
- yarn sentry-cli releases set-commits --auto "$CI_COMMIT_SHORT_SHA"
- yarn sentry-cli releases finalize "$CI_COMMIT_SHORT_SHA"
- yarn sentry-cli releases deploys "$CI_COMMIT_SHORT_SHA" new -e "$BBK_RUNTIME_ENVIRONMENT"
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment