Merge pull request #4382 from overleaf/jpa-sentry-upload

[misc] sentry_upload: gracefully handle initial upload from monorepo

GitOrigin-RevId: 49e789a4cfc23e996ebaddd1ea015c11f6c08573
This commit is contained in:
Jakob Ackermann 2021-08-04 17:32:26 +02:00 committed by Copybot
parent e25d8b1440
commit a96716f8cf

View file

@ -11,7 +11,7 @@ if [[ "$BRANCH_NAME" == "master" || "$BRANCH_NAME" == "main" ]]; then
OPTS="--no-rewrite --url-prefix ~" OPTS="--no-rewrite --url-prefix ~"
sentry-cli releases new "$SENTRY_RELEASE" sentry-cli releases new "$SENTRY_RELEASE"
sentry-cli releases files "$SENTRY_RELEASE" upload-sourcemaps ${OPTS} . sentry-cli releases files "$SENTRY_RELEASE" upload-sourcemaps ${OPTS} .
sentry-cli releases set-commits --auto "$SENTRY_RELEASE" sentry-cli releases set-commits --auto --ignore-missing "$SENTRY_RELEASE"
sentry-cli releases finalize "$SENTRY_RELEASE" sentry-cli releases finalize "$SENTRY_RELEASE"
rm -rf sentry_upload rm -rf sentry_upload