From e41e11bc23dcc312be84254fa8d612be569028f8 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Fri, 27 Sep 2024 09:46:44 +0100 Subject: [PATCH] Associate commits with Sentry releases (#20401) GitOrigin-RevId: 436c5ef26fd5982c2e759986d85b55b61d254a16 --- services/web/bin/sentry_upload | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/bin/sentry_upload b/services/web/bin/sentry_upload index a5ada83989..309ea99345 100755 --- a/services/web/bin/sentry_upload +++ b/services/web/bin/sentry_upload @@ -10,6 +10,7 @@ if [[ "$BRANCH_NAME" == "master" || "$BRANCH_NAME" == "main" ]]; then SENTRY_RELEASE=${COMMIT_SHA} OPTS="--no-rewrite --url-prefix ~" sentry-cli releases new "$SENTRY_RELEASE" + sentry-cli releases set-commits --auto "$SENTRY_RELEASE" sentry-cli releases files "$SENTRY_RELEASE" upload-sourcemaps ${OPTS} . sentry-cli releases finalize "$SENTRY_RELEASE"