Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 641cadd

Browse files
author
Richard Hua
authored
Update README.md
1 parent 27029c8 commit 641cadd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,19 +550,19 @@ In it's most basic form, this command only requires two parameters: your app nam
550550
```shell
551551
code-push release-react <appName> <platform>
552552
553-
code-push release-react MyApp ios
553+
code-push release-react MyApp-iOS ios
554554
code-push release-react MyApp-Android android
555555
```
556556
557557
The `release-react` command enables such a simple workflow because it provides many sensible defaults (e.g. generating a release bundle, assuming your app's entry file on iOS is either `index.ios.js` or `index.js`). However, all of these defaults can be customized to allow incremental flexibility as necessary, which makes it a good fit for most scenarios.
558558

559559
```shell
560560
# Release a mandatory update with a changelog
561-
code-push release-react MyApp ios -m --description "Modified the header color"
561+
code-push release-react MyApp-iOS ios -m --description "Modified the header color"
562562
563563
# Release an update for an app that uses a non-standard entry file name, and also capture
564564
# the sourcemap file generated by react-native bundle
565-
code-push release-react MyApp ios --entryFile MyApp.js --sourcemapOutput ../maps/MyApp.map
565+
code-push release-react MyApp-iOS ios --entryFile MyApp.js --sourcemapOutput ../maps/MyApp.map
566566
567567
# Release a dev Android build to just 1/4 of your end users
568568
code-push release-react MyApp-Android android --rollout 25% --dev true

0 commit comments

Comments
 (0)