Commit e67bbc35 authored by Philip Paetz's avatar Philip Paetz
Browse files

fix(CI): add 'yarn build' to sentry_release_production job because build...

fix(CI): add 'yarn build' to sentry_release_production job because build artifacts aren't available in release pipelines
parent 1588fbc4
Pipeline #31929 passed with stages
in 24 seconds
......@@ -13,6 +13,8 @@ sentry_release_production:
- node -v
- yarn global add @sentry/cli
- sentry-cli releases new "$CI_COMMIT_TAG"
# In release pipelines, we typically don't have access to the build artifacts from the previous `master` pipeline so we need to re-generate it here
- yarn build
- sentry-cli releases files "$CI_COMMIT_TAG" upload-sourcemaps ./build
- sentry-cli releases set-commits --auto "$CI_COMMIT_TAG"
- sentry-cli releases finalize "$CI_COMMIT_TAG"
......
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