New Features
-
The
patch
andpromote
commands include a new optional parameter called--targetBinaryVersion
(or-t
), which allows you to edit the respective attribute for an existing CodePush release. This change makes it so that all metadata associated with a release is editable via a patch or promote operation, and allows you to correct a mistake made when performing a release, increase or decrease the binary version compatibility of a release and/or use different versioning schemes between deployments.# Add a "max binary version" to an existing release # by scoping its eligibility to users running >= 1.0.5 code-push patch MyApp Staging -t "1.0.0 - 1.0.5" # Promote the release to production and make it # available to all versions using that deployment code-push promote MyApp Staging Production -t "*"