mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 05:22:51 +00:00
Associate commits with Sentry releases (#20401)
GitOrigin-RevId: 436c5ef26fd5982c2e759986d85b55b61d254a16
This commit is contained in:
parent
1cf1624aea
commit
e41e11bc23
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue