1.0.0 • Published 8 years ago

git-all-tags v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

NPM version Build Status Dependency Status Coverage Status

Get all git tags of your repository in reverse chronological order

Note: since lightweight tags do not store date information, the date of a tag is the date of the commit that is tagged on. If two tags on one commit, the order is not guaranteed.

Install

$ npm install --save git-all-tags

Usage

var gitAllTags = require('git-all-tags');

gitAllTags(function(err, tag) {
  console.log(tag);
  //=> [ 'v2.0.0', 'v1.0.0' ]
});
$ npm install --global git-all-tags
$ git-all-tags
v2.0.0
v1.0.0

License

MIT © Steve Mao

1.0.0

8 years ago

0.0.0

8 years ago