mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-14 02:14:52 +08:00
Update README.md
This commit is contained in:
@@ -550,7 +550,7 @@ In it's most basic form, this command only requires two parameters: your app nam
|
||||
```shell
|
||||
code-push release-react <appName> <platform>
|
||||
|
||||
code-push release-react MyApp ios
|
||||
code-push release-react MyApp-iOS ios
|
||||
code-push release-react MyApp-Android android
|
||||
```
|
||||
|
||||
@@ -558,11 +558,11 @@ The `release-react` command enables such a simple workflow because it provides m
|
||||
|
||||
```shell
|
||||
# Release a mandatory update with a changelog
|
||||
code-push release-react MyApp ios -m --description "Modified the header color"
|
||||
code-push release-react MyApp-iOS ios -m --description "Modified the header color"
|
||||
|
||||
# Release an update for an app that uses a non-standard entry file name, and also capture
|
||||
# the sourcemap file generated by react-native bundle
|
||||
code-push release-react MyApp ios --entryFile MyApp.js --sourcemapOutput ../maps/MyApp.map
|
||||
code-push release-react MyApp-iOS ios --entryFile MyApp.js --sourcemapOutput ../maps/MyApp.map
|
||||
|
||||
# Release a dev Android build to just 1/4 of your end users
|
||||
code-push release-react MyApp-Android android --rollout 25% --dev true
|
||||
|
||||
Reference in New Issue
Block a user