git-semver-tags
Get all git semver tags of your repository in reverse chronological order
Last updated 4 years ago by bcoe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install git-semver-tags 
SYNC missed versions from official npm registry.

NPM version Build Status Dependency Status Coverage Status

Get all git semver 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-semver-tags

Usage

var gitSemverTags = require('git-semver-tags');

// gitSemverTags([options,] callback)

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

Options

  • opts.lernaTags: extract lerna style tags (foo-package@2.0.0) from the git history, rather than v1.0.0 format.
  • opts.package: what package should lerna style tags be listed for, e.g., foo-package.
  • opts.tagPrefix: specify a prefix for the git tag to be ignored from the semver checks

License

MIT © Steve Mao

Current Tags

  • 8.0.0                                ...           latest (6 months ago)
  • 4.1.1                                ...           next (4 years ago)

32 Versions

  • 8.0.0                                ...           6 months ago
  • 7.0.1                                ...           a year ago
  • 7.0.0                                ...           a year ago
  • 6.0.0                                ...           a year ago
  • 5.0.1                                ...           a year ago
  • 5.0.0                                ...           a year ago
  • 4.1.1                                ...           4 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.0                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.3.6                                ...           7 years ago
  • 1.3.5                                ...           7 years ago
  • 1.3.4                                ...           7 years ago
  • 1.3.3                                ...           7 years ago
  • 1.3.2                                ...           7 years ago
  • 1.3.1                                ...           7 years ago
  • 1.3.0                                ...           7 years ago
  • 1.2.3                                ...           7 years ago
  • 1.2.2                                ...           7 years ago
  • 1.2.1                                ...           7 years ago
  • 1.2.0                                ...           8 years ago
  • 1.2.0-alpha.1                                ...           8 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.1                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.0.1                                ...           9 years ago
  • 0.0.0                                ...           9 years ago
Downloads
Total 2
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE