Merge pull request #13182 from overleaf/jpa-disable-sentry-upload

[web] temporarily disable upload of source maps to sentry

GitOrigin-RevId: 76eaa7533baf74b92002d6ba91b2220fc79aa3f9
This commit is contained in:
Christopher Hoskin 2023-05-23 11:14:02 +01:00 committed by Copybot
parent 540a5466f3
commit 3988f815af

View file

@ -1,6 +1,9 @@
#!/bin/sh #!/bin/sh
set -e set -e
echo "Sentry upload is temporarily disabled."
exit 0
if [[ "$BRANCH_NAME" == "master" || "$BRANCH_NAME" == "main" ]]; then if [[ "$BRANCH_NAME" == "master" || "$BRANCH_NAME" == "main" ]]; then
rm -rf sentry_upload rm -rf sentry_upload
mkdir sentry_upload mkdir sentry_upload