Skip to content

A tool to update package.json version by its command line interface

License

Notifications You must be signed in to change notification settings

thalesrc/version-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version Update

A tool to update package.json version by its command line interface.

npm npm

Useful in build automations etc.

Install

npm install @gen-tech/version-update --save-dev

Usage

in package.json

"scripts": {
  "update-package": "gtvu"
}

npm run update-package 2.0.1


in travis.yml

before_script: npm run update-package $TRAVIS_TAG

Api

gtvu <version> --silent --safe --path

name details default
<version> version to update package.json with
--silent disables logging false
--safe not throws error if this is set false
--path set package.json path "./package.json"

License

MIT

About

A tool to update package.json version by its command line interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published