$ npm install git-latest-semver-tag
Get the most recent git semver tag of your repository
$ npm install --save git-latest-semver-tag
var gitLatestSemverTag = require('git-latest-semver-tag');
gitLatestSemverTag(function(err, tag) {
console.log(tag);
//=> 'v1.0.0'
});
$ npm install --global git-latest-semver-tag
$ git-latest-semver-tag
v1.0.0
MIT © Steve Mao
© 2010 - cnpmjs.org x YWFE | Home | YWFE