- Install codepush cli:
npm install -g code-push-cli
- Login to appcenter:
code-push login
- Run the release script. This will update the
package.json
version and build fields, create a release branch and tag.
yarn release 1.0.0
- Deploy to each platform:
yarn deploy:ios
yarn deploy:android
Make sure that the 1.0.0 release branch exists (it should if you've deployed a build for that version).
yarn release:code 1.0.0
- Deploy:
yarn deploy:code