diff options
author | Eric Bailey <git@esb.lol> | 2025-04-07 20:29:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-07 18:29:41 -0700 |
commit | 872fcd1d20e2e3981eca77190b3eaa380b9aca76 (patch) | |
tree | c88c383a256699cbc4c775eb1735937e70273f2c /patches/@sentry+react-native+6.10.0.patch | |
parent | d496b5bdbff64b02baf00654c3a82bfe7153bf77 (diff) | |
download | voidsky-872fcd1d20e2e3981eca77190b3eaa380b9aca76.tar.zst |
Update patches (#8151)
* Update patches after #8133 * Bump deps * Revert @react-native-picker/picker downgrade * Migrate RN patch
Diffstat (limited to 'patches/@sentry+react-native+6.10.0.patch')
-rw-r--r-- | patches/@sentry+react-native+6.10.0.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/@sentry+react-native+6.10.0.patch b/patches/@sentry+react-native+6.10.0.patch new file mode 100644 index 000000000..2291c598c --- /dev/null +++ b/patches/@sentry+react-native+6.10.0.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/@sentry/react-native/scripts/expo-upload-sourcemaps.js b/node_modules/@sentry/react-native/scripts/expo-upload-sourcemaps.js +index c282ade..8777755 100755 +--- a/node_modules/@sentry/react-native/scripts/expo-upload-sourcemaps.js ++++ b/node_modules/@sentry/react-native/scripts/expo-upload-sourcemaps.js +@@ -215,7 +215,7 @@ for (const [assetGroupName, assets] of Object.entries(groupedAssets)) { + + const isHermes = assets.find(asset => asset.endsWith('.hbc')); + const windowsCallback = process.platform === "win32" ? 'node ' : ''; +- execSync(`${windowsCallback}${sentryCliBin} sourcemaps upload ${isHermes ? '--debug-id-reference' : ''} ${assets.join(' ')}`, { ++ execSync(`${windowsCallback}${sentryCliBin} sourcemaps upload ${isHermes ? '--debug-id-reference' : ''} ${assets.join(' ')} --dist ${process.env.SENTRY_DIST}`, { + env: { + ...process.env, + [SENTRY_PROJECT]: sentryProject, |