Skip to content

teod/json-version-inc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Increments versions in a json file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published