@marionebl/git-semver-tags

1.1.7 • Public • Published

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(function(err, tag) {
  console.log(tag);
  //=> [ 'v2.0.0', 'v1.0.0' ]
});
$ npm install --global git-semver-tags
$ git-semver-tags
v2.0.0
v1.0.0

License

MIT © Steve Mao

/@marionebl/git-semver-tags/

    Package Sidebar

    Install

    npm i @marionebl/git-semver-tags

    Weekly Downloads

    2

    Version

    1.1.7

    License

    MIT

    Last publish

    Collaborators

    • marionebl