Commit b6c199f3 authored by mohoff's avatar mohoff

chore: add build step to sentry jobs and remove dependency

parent 4b2e49bf
Pipeline #22212 passed with stages
in 18 seconds
......@@ -7,9 +7,8 @@ sentry_release_production:
SENTRY_ORG: brickblock
SENTRY_PROJECT: ${CI_PROJECT_NAME}
extends: .cache-pull-only
dependencies:
- build_npm_package
script:
- yarn build
- 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
......@@ -28,9 +27,8 @@ sentry_release_staging:
SENTRY_ORG: brickblock
SENTRY_PROJECT: ${CI_PROJECT_NAME}
extends: .cache-pull-only
dependencies:
- build_npm_package
script:
- yarn build
- 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
......
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