Skip to content

Commit ad6340f

Browse files
Simplify upload to Sentry
1 parent 8cb6669 commit ad6340f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Scripts/upload-sentry-sources.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,11 @@ then
77
echo "Skipping Sentry sources upload"
88
elif [[ -n $SENTRY_AUTH_TOKEN ]]
99
then
10-
ERROR=$(sentry-cli debug-files upload \
11-
--org $SENTRY_ORG \
12-
--project $SENTRY_PROJECT \
13-
--auth-token $SENTRY_AUTH_TOKEN \
14-
--include-sources "$DWARF_DSYM_FOLDER_PATH" \
15-
--force-foreground 2>&1 >/dev/null)
10+
sentry-cli debug-files upload --include-sources "$DWARF_DSYM_FOLDER_PATH"
1611

1712
if [[ $? -ne 0 ]]
1813
then
19-
echo "error: sentry-cli - $ERROR"
14+
echo "error: failed to upload debug files to Sentry"
2015
exit 1
2116
fi
2217
fi

0 commit comments

Comments
 (0)