Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.19 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.19 KB

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