Skip to content

Commit 09d9ff2

Browse files
fix: --force-foreground to break builds if upload fails (#5500)
Co-authored-by: Kamil Ogórek <[email protected]>
1 parent 900aedc commit 09d9ff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform-includes/debug-symbols-apple/_default.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ if which sentry-cli >/dev/null; then
196196
export SENTRY_ORG=___ORG_SLUG___
197197
export SENTRY_PROJECT=___PROJECT_SLUG___
198198
export SENTRY_AUTH_TOKEN=YOUR_AUTH_TOKEN
199-
ERROR=$(sentry-cli upload-dif "$DWARF_DSYM_FOLDER_PATH" 2>&1 >/dev/null)
199+
ERROR=$(sentry-cli upload-dif "$DWARF_DSYM_FOLDER_PATH" --force-foreground 2>&1 >/dev/null)
200200
if [ ! $? -eq 0 ]; then
201201
echo "error: sentry-cli - $ERROR"
202202
fi

0 commit comments

Comments
 (0)