7.0.1 • Published 6 months ago
git-semver-tags v7.0.1
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])
const tags = await gitSemverTags();
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 thanv1.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
7.0.0
6 months ago
7.0.1
6 months ago
6.0.0
7 months ago
5.0.1
8 months ago
5.0.0
10 months ago
4.1.1
3 years ago
4.1.0
4 years ago
4.0.0
4 years ago
3.0.1
4 years ago
3.0.0
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.0
6 years ago
1.3.6
6 years ago
1.3.5
6 years ago
1.3.4
6 years ago
1.3.3
6 years ago
1.3.2
6 years ago
1.3.1
6 years ago
1.3.0
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.2.0-alpha.1
7 years ago
1.1.2
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.0
9 years ago
0.0.1
9 years ago
0.0.0
9 years ago