File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Unreleased
4+
5+ ### Changes
6+
7+ - Xcode Debug Files upload completes in foreground by default ([ #4090 ] ( https://github.com/getsentry/sentry-react-native/pull/4090 ) )
8+ - Use ` SENTRY_FORCE_FOREGROUND=false ` for background upload
9+
310## 6.0.0-beta.1
411
512### Features
Original file line number Diff line number Diff line change @@ -22,9 +22,12 @@ LOCAL_NODE_BINARY=${NODE_BINARY:-node}
2222[ -z " $SENTRY_CLI_EXECUTABLE " ] && SENTRY_CLI_PACKAGE_PATH=$( " $LOCAL_NODE_BINARY " --print " require('path').dirname(require.resolve('@sentry/cli/package.json'))" )
2323[ -z " $SENTRY_CLI_EXECUTABLE " ] && SENTRY_CLI_EXECUTABLE=" ${SENTRY_CLI_PACKAGE_PATH} /bin/sentry-cli"
2424
25+ [ -z " $SENTRY_FORCE_FOREGROUND " ] && SENTRY_FORCE_FOREGROUND=true
26+
27+ [[ " $SENTRY_FORCE_FOREGROUND " == true ]] && SENTRY_FORCE_FOREGROUND_FLAG=" --force-foreground"
2528[[ $SENTRY_INCLUDE_NATIVE_SOURCES == " true" ]] && INCLUDE_SOURCES_FLAG=" --include-sources" || INCLUDE_SOURCES_FLAG=" "
2629
27- EXTRA_ARGS=" $SENTRY_CLI_EXTRA_ARGS $SENTRY_CLI_DEBUG_FILES_UPLOAD_EXTRA_ARGS $INCLUDE_SOURCES_FLAG "
30+ EXTRA_ARGS=" $SENTRY_FORCE_FOREGROUND_FLAG $ SENTRY_CLI_EXTRA_ARGS $SENTRY_CLI_DEBUG_FILES_UPLOAD_EXTRA_ARGS $INCLUDE_SOURCES_FLAG "
2831
2932UPLOAD_DEBUG_FILES=" \" $SENTRY_CLI_EXECUTABLE \" debug-files upload $EXTRA_ARGS \" $DWARF_DSYM_FOLDER_PATH \" "
3033
Original file line number Diff line number Diff line change @@ -15,10 +15,13 @@ LOCAL_NODE_BINARY=${NODE_BINARY:-node}
1515[ -z " $SENTRY_CLI_EXECUTABLE " ] && SENTRY_CLI_PACKAGE_PATH=$( " $LOCAL_NODE_BINARY " --print " require('path').dirname(require.resolve('@sentry/cli/package.json'))" )
1616[ -z " $SENTRY_CLI_EXECUTABLE " ] && SENTRY_CLI_EXECUTABLE=" ${SENTRY_CLI_PACKAGE_PATH} /bin/sentry-cli"
1717
18+ [ -z " $SENTRY_FORCE_FOREGROUND " ] && SENTRY_FORCE_FOREGROUND=true
19+
1820REACT_NATIVE_XCODE=$1
1921
22+ [[ " $SENTRY_FORCE_FOREGROUND " == true ]] && SENTRY_FORCE_FOREGROUND_FLAG=" --force-foreground"
2023[[ " $AUTO_RELEASE " == false ]] && [[ -z " $BUNDLE_COMMAND " || " $BUNDLE_COMMAND " != " ram-bundle" ]] && NO_AUTO_RELEASE=" --no-auto-release"
21- ARGS=" $NO_AUTO_RELEASE $SENTRY_CLI_EXTRA_ARGS $SENTRY_CLI_RN_XCODE_EXTRA_ARGS "
24+ ARGS=" $SENTRY_FORCE_FOREGROUND_FLAG $ NO_AUTO_RELEASE $SENTRY_CLI_EXTRA_ARGS $SENTRY_CLI_RN_XCODE_EXTRA_ARGS "
2225
2326REACT_NATIVE_XCODE_WITH_SENTRY=" \" $SENTRY_CLI_EXECUTABLE \" react-native xcode $ARGS \" $REACT_NATIVE_XCODE \" "
2427
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export EXTRA_COMPILER_ARGS="-w"
1414
1515export SENTRY_RN_PACKAGE_PATH = " ../../.."
1616export SENTRY_CLI_EXECUTABLE = " ../../../node_modules/@sentry/cli/bin/sentry-cli"
17- export SENTRY_CLI_EXTRA_ARGS = " --force-foreground "
17+ export SENTRY_CLI_EXTRA_ARGS = " "
1818export SENTRY_CLI_DEBUG_FILES_UPLOAD_EXTRA_ARGS = " "
1919export SENTRY_CLI_RN_XCODE_EXTRA_ARGS = " "
2020export MODULES_PATHS = " $PWD /../node_modules,$PWD /../../.."
You can’t perform that action at this time.
0 commit comments