We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46a1810 commit 32df4b1Copy full SHA for 32df4b1
apps/webapp/upload-sourcemaps.sh
@@ -5,6 +5,8 @@ if [ -n "$SENTRY_ORG" ] && [ -n "$SENTRY_PROJECT" ] && [ -n "$SENTRY_AUTH_TOKEN"
5
sentry-cli releases new $SENTRY_RELEASE
6
sentry-cli sourcemaps inject ./build
7
sentry-cli sourcemaps upload ./build --release $SENTRY_RELEASE
8
+ # Now we need to delete the sourcemaps from the build directory
9
+ rm -rf ./build/*.map
10
else
11
echo "Skipping sourcemap upload: Missing required environment variables"
12
echo "Required: SENTRY_ORG, SENTRY_PROJECT, SENTRY_AUTH_TOKEN, SENTRY_RELEASE"
0 commit comments