Commit 386a0910 authored by Richard Crosby's avatar Richard Crosby

chore: install sentry-cli globally in pipelines

parent cae16e3a
Pipeline #24180 passed with stages
in 23 seconds
......@@ -8,12 +8,12 @@ sentry_release_production:
dependencies:
- build
script:
- 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"
- yarn global add @sentry/cli
- sentry-cli releases new "$CI_COMMIT_TAG"
- sentry-cli releases files "$CI_COMMIT_TAG" upload-sourcemaps --rewrite ./build
- sentry-cli releases set-commits --auto "$CI_COMMIT_TAG"
- sentry-cli releases finalize "$CI_COMMIT_TAG"
- sentry-cli releases deploys "$CI_COMMIT_TAG" new -e "$BBK_RUNTIME_ENVIRONMENT"
only:
- tags
......@@ -28,11 +28,11 @@ sentry_release_staging:
dependencies:
- build
script:
- 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"
- yarn global add @sentry/cli
- sentry-cli releases new "$CI_COMMIT_SHORT_SHA"
- sentry-cli releases files "$CI_COMMIT_SHORT_SHA" upload-sourcemaps --rewrite ./build
- sentry-cli releases set-commits --auto "$CI_COMMIT_SHORT_SHA"
- sentry-cli releases finalize "$CI_COMMIT_SHORT_SHA"
- 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