Skip to content

Commit 485d0d7

Browse files
committed
fastlane: Use yarn instead of npx
npx will happily move us up into the new version of react-native; this forces us to use the binaries as-bundled. Signed-off-by: Kristofer Rye <[email protected]>
1 parent d3071f7 commit 485d0d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastlane/lib/sourcemaps.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def generate_sourcemap
3131
args = sourcemap_args
3232

3333
cmd = [
34-
'npx react-native bundle',
34+
'yarn react-native bundle',
3535
'--dev false',
3636
"--platform '#{args[:platform]}'",
3737
"--entry-file '#{args[:entry_file]}'",
@@ -59,7 +59,7 @@ def upload_sourcemap_to_sentry
5959
args = sourcemap_args
6060

6161
cmd = [
62-
'npx @sentry/cli',
62+
'yarn sentry-cli',
6363
'releases',
6464
'files',
6565
"#{bundle_identifier}-#{current_bundle_version}",

0 commit comments

Comments
 (0)