Upgrade Sentry SDK (#20806)

GitOrigin-RevId: 70cfbfd7f2ae61bbc865d32c576aa8f195837fb5
This commit is contained in:
Alf Eaton
2024-10-14 11:01:28 +00:00
committed by Copybot
parent 5861c7d3ec
commit 8b00dc5879
5 changed files with 406 additions and 96 deletions
+3 -1
View File
@@ -10,7 +10,9 @@ if [[ "$BRANCH_NAME" == "master" || "$BRANCH_NAME" == "main" ]]; then
SENTRY_RELEASE=${COMMIT_SHA}
sentry-cli releases new "$SENTRY_RELEASE"
sentry-cli releases set-commits --auto "$SENTRY_RELEASE"
sentry-cli releases files "$SENTRY_RELEASE" upload-sourcemaps --no-rewrite --url-prefix ~ .
sentry-cli files upload --release="$SENTRY_RELEASE" .
sentry-cli sourcemaps inject .
sentry-cli sourcemaps upload --no-rewrite --url-prefix ~ .
sentry-cli releases finalize "$SENTRY_RELEASE"
rm -rf sentry_upload