Introducing the snapshot project lifecycle managing for easy preintegrations and canary channels
npm install -g snapver
Start a patch version. Can be patch
, minor
, major
$ snapver start patch
Make a release in git
$ snapver release
Help please!
$ snapver --help
var snapver = require('snapver');
snapver({
branch: 'release' //give additional config
}).start('patch', function(err, version) {
console.log('New Version %s started', version);
});
//Dual API, node callbacks and promises
//It will use `.snaprc` [commented] json file in your working directory
snapver().release().then(function(version) {
console.log('Version %s released', version);
});