Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit b7bd859

Browse files
author
soliury
committed
edit code-push script
1 parent 1397610 commit b7bd859

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
"build-android": "cd android && ./gradlew assembleRelease && cd ..",
1111
"checkversion": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json",
1212
"postinstall": "npm run checkversion",
13-
"push-android": "code-push release-react Noder android",
14-
"push-ios": "code-push release-react Noder ios",
13+
"push-android": "code-push release-react Noder android --deploymentName Staging",
14+
"push-ios": "code-push release-react Noder ios --deploymentName Staging",
15+
"push-android-prod": "code-push release-react Noder android --deploymentName Production",
16+
"push-ios-prod": "code-push release-react Noder ios --deploymentName Production",
1517
"push-key": "code-push deployment ls Noder -k"
1618
},
1719
"dependencies": {

0 commit comments

Comments
 (0)