raykle / rn-release-cli

Generic CLI tool for react-native project to automate executing cmd `react-native bundle`, `code-push release` and `bugsnag upload`.

Home Page:https://www.npmjs.com/package/rn-release-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rn-release-cli

npm version downloads

npm package

Generic CLI tool for react-native project to automate executing cmd react-native bundle, code-push release and bugsnag upload.

Installation

$ npm install -g rn-release-cli

Usage

Step 1:

Create a new file named rn-release.config.json in your react-native root directory, then set the variable in the json file if needed. Otherwise, the command will use the default value.

Step 2:

$ cd ./Awesome-react-native
$ rn-release

rn-release is the same as command: rn-release --bundle --codepush --bugsnag.


Note: If execute the command with bouth --codepush and --bugsnag options, but the deploymentName args for code-push choose the Staging, the bugsnag upload command will be skipped.

For example: rn-release --codepush --bugsnag, --bugsnag option will be skipped if choose the Staging for deploymentName.


Use rn-release -h for more help.

raykle

Example

raykle

License

MIT


About

Generic CLI tool for react-native project to automate executing cmd `react-native bundle`, `code-push release` and `bugsnag upload`.

https://www.npmjs.com/package/rn-release-cli

License:MIT License


Languages

Language:JavaScript 100.0%