Skip to content

Commit

Permalink
feat(docker): add Sentry sourcemap debug id injection
Browse files Browse the repository at this point in the history
  • Loading branch information
philprime committed Feb 8, 2025
1 parent 2276e3e commit 647f56e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ if [ ! -z "$SENTRY_RELEASE" ]; then

./node_modules/.bin/sentry-cli login --auth-token $SENTRY_AUTH_TOKEN
./node_modules/.bin/sentry-cli releases new $SENTRY_RELEASE
./node_modules/.bin/sentry-cli sourcemaps upload .next
./node_modules/.bin/sentry-cli sourcemaps inject .
./node_modules/.bin/sentry-cli sourcemaps upload --release $SENTRY_RELEASE .
./node_modules/.bin/sentry-cli releases finalize $SENTRY_RELEASE

echo "Sentry release '$SENTRY_RELEASE' created"
Expand Down

0 comments on commit 647f56e

Please sign in to comment.