Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 831 Bytes

README.md

File metadata and controls

49 lines (35 loc) · 831 Bytes

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