From a96716f8cf2572f4ad927cf7bfd8d2a367415e73 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Wed, 4 Aug 2021 17:32:26 +0200 Subject: [PATCH] Merge pull request #4382 from overleaf/jpa-sentry-upload [misc] sentry_upload: gracefully handle initial upload from monorepo GitOrigin-RevId: 49e789a4cfc23e996ebaddd1ea015c11f6c08573 --- services/web/bin/sentry_upload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/bin/sentry_upload b/services/web/bin/sentry_upload index 412b6a5015..cf7b3cddb8 100755 --- a/services/web/bin/sentry_upload +++ b/services/web/bin/sentry_upload @@ -11,7 +11,7 @@ if [[ "$BRANCH_NAME" == "master" || "$BRANCH_NAME" == "main" ]]; then OPTS="--no-rewrite --url-prefix ~" sentry-cli releases new "$SENTRY_RELEASE" 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" rm -rf sentry_upload