Skip to content

webcaetano/git-bump-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-bump-cli

NPM version Build status

Bump package.json version and git tags it

Installation

npm install git-bump-cli --save

CLI

npm install git-bump-cli -g
Usage
	$ bump <type>
	$ bump patch // 1.0.1
	$ bump minor // 1.1.0
	$ bump major // 2.0.0

Node Usage

var bump = require('git-bump-cli');
var type = 'major';
var options = {
	files:['bower.json','package.json'],
	message:'new version'
}

bump(type,options,callback);

License

MIT

About

CLI for update package.json version and git tag it

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published