Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
DevOps
Project Templates
Commits
2e1e6bdb
Commit
2e1e6bdb
authored
Sep 17, 2021
by
Philip Paetz
Browse files
fix(CI): install devDependencies before building in sentry_release_production
parent
e67bbc35
Pipeline
#31932
passed with stages
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gitlab-ci/sentry-release.yml
View file @
2e1e6bdb
...
...
@@ -12,9 +12,15 @@ sentry_release_production:
script
:
-
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
# We need the devDependencies installed for 'yarn build' to work
-
yarn
# In release pipelines, we typically don't have access to the node_modules cache nor
# build artifacts from the previous `master` pipeline so we need to re-generate it here
-
yarn build
-
sentry-cli releases new "$CI_COMMIT_TAG"
-
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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment