react-native-update-cli 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/package.js +2 -2
- package/package.json +1 -1
- package/src/package.js +2 -2
package/lib/package.js
CHANGED
|
@@ -74,7 +74,7 @@ const commands = exports.commands = {
|
|
|
74
74
|
} = await (0, _utils.getIpaInfo)(fn);
|
|
75
75
|
const { appId, appKey } = await (0, _app.getSelectedApp)('ios');
|
|
76
76
|
|
|
77
|
-
if (appIdInPkg && appIdInPkg
|
|
77
|
+
if (appIdInPkg && appIdInPkg != appId) {
|
|
78
78
|
throw new Error(`appId不匹配!当前ipa: ${appIdInPkg}, 当前update.json: ${appId}`);
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -105,7 +105,7 @@ const commands = exports.commands = {
|
|
|
105
105
|
} = await (0, _utils.getApkInfo)(fn);
|
|
106
106
|
const { appId, appKey } = await (0, _app.getSelectedApp)('android');
|
|
107
107
|
|
|
108
|
-
if (appIdInPkg && appIdInPkg
|
|
108
|
+
if (appIdInPkg && appIdInPkg != appId) {
|
|
109
109
|
throw new Error(`appId不匹配!当前apk: ${appIdInPkg}, 当前update.json: ${appId}`);
|
|
110
110
|
}
|
|
111
111
|
|
package/package.json
CHANGED
package/src/package.js
CHANGED
|
@@ -65,7 +65,7 @@ export const commands = {
|
|
|
65
65
|
} = await getIpaInfo(fn);
|
|
66
66
|
const { appId, appKey } = await getSelectedApp('ios');
|
|
67
67
|
|
|
68
|
-
if (appIdInPkg && appIdInPkg
|
|
68
|
+
if (appIdInPkg && appIdInPkg != appId) {
|
|
69
69
|
throw new Error(
|
|
70
70
|
`appId不匹配!当前ipa: ${appIdInPkg}, 当前update.json: ${appId}`,
|
|
71
71
|
);
|
|
@@ -100,7 +100,7 @@ export const commands = {
|
|
|
100
100
|
} = await getApkInfo(fn);
|
|
101
101
|
const { appId, appKey } = await getSelectedApp('android');
|
|
102
102
|
|
|
103
|
-
if (appIdInPkg && appIdInPkg
|
|
103
|
+
if (appIdInPkg && appIdInPkg != appId) {
|
|
104
104
|
throw new Error(
|
|
105
105
|
`appId不匹配!当前apk: ${appIdInPkg}, 当前update.json: ${appId}`,
|
|
106
106
|
);
|