mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-17 10:02:19 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c7d0aadbf2 | ||
![]() |
2e37d6f1c7 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-update-cli",
|
||||
"version": "1.45.5",
|
||||
"version": "1.45.6",
|
||||
"description": "command line tool for react-native-update (remote updates for react native)",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
@@ -149,6 +149,14 @@ async function runReactNativeBundleCommand({
|
||||
const bundleParams = await checkPlugins();
|
||||
const isSentry = bundleParams.sentry;
|
||||
|
||||
if (isSentry) {
|
||||
if (platform === 'ios') {
|
||||
process.env.SENTRY_PROPERTIES = 'ios/sentry.properties';
|
||||
} else if (platform === 'android') {
|
||||
process.env.SENTRY_PROPERTIES = 'android/sentry.properties';
|
||||
}
|
||||
}
|
||||
|
||||
let bundleCommand = 'bundle';
|
||||
if (usingExpo) {
|
||||
bundleCommand = 'export:embed';
|
||||
|
Reference in New Issue
Block a user