json-version-inc

1.1.0 • Public • Published

json-version-inc

Increments a version field property in a json file and rewrites the original file

Why ?

I needed a way to increment the versions for android and ios react-native expo builds in order to be able to use CI and fastlane to submit builds to Play Store and App Store.

Install

$ npm install -g json-version-inc

Usage

json-version-inc -j [JSON_FILE_PATH] -p [VERSION_PROPERTY_PATH] -t [TYPE: MAJOR | MINOR | PATCH]

Example

json-version-inc -j ./app.json -p expo.ios.buildNumber -t PATCH

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i json-version-inc

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

5.96 kB

Total Files

7

Last publish

Collaborators

  • teod