/git-latest-semver-tag

Get the most recent git semver tag of your repository

Primary LanguageJavaScript

NPM version Build Status Dependency Status Coverage Status

Get the most recent git semver tag of your repository

Install

$ npm install --save git-latest-semver-tag

Usage

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

License

MIT © Steve Mao