mirror of
https://github.com/expo/react-native-sentry.git
synced 2026-11-15 09:18:10 -10:00
5 lines
287 B
Bash
Executable File
5 lines
287 B
Bash
Executable File
#!/bin/bash
|
|
mkdir tmp
|
|
react-native bundle --platform ios --entry-file index.ios.js --dev false --bundle-output ./tmp/main.jsbundle --sourcemap-output ./tmp/sourcemap.js
|
|
sentry-cli releases files "1.0" upload-sourcemaps ./tmp --url-prefix="/" --rewrite --strip-common-prefix
|
|
#rm -rf ./tmp |