Skip to content

Commit e168fe9

Browse files
committed
docs: update README to include rollout percentage options for updates
1 parent 3c8d690 commit e168fe9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,12 +393,15 @@ npx code-push release --framework expo --binary-version 1.0.0 --app-version 1.0.
393393
> [!IMPORTANT]
394394
> `--app-version` should be greater than `--binary-version` (SemVer comparison).
395395
396+
- `--rollout`: The rollout percentage for the update. (0~100, inclusive)
396397

397398
#### `update-history`
398399

399400
Update the release history for a specific CodePush update.
400401
- Use the `--enable` option to disable a specific release for rollback. (or enable it)
401402
- Use the `--mandatory` option to make the update as mandatory or optional.
403+
- Use the `--rollout` option to change the rollout percentage of the update. (0~100, inclusive)
404+
- If the rollout percentage is reduced, users who fall outside the new target will have their rollout canceled and rollback to the previous latest version.
402405

403406
**Example:**
404407
- Rollback the CodePush update `1.0.1` (targeting the binary app version `1.0.0`).

0 commit comments

Comments
 (0)