npm.io
8.0.1 • Published 3d agoCLI

git-semver-tags

Licence
MIT
Version
8.0.1
Deps
2
Size
6 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

git-semver-tags

ESM-only package NPM version Node version Dependencies status Install size Build 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

# pnpm
pnpm add git-semver-tags
# yarn
yarn add git-semver-tags
# npm
npm i git-semver-tags

CLI

# Example
git-semver-tags
# Output:
# v2.0.0
# v1.0.0
# For more details
git-semver-tags --help

API

For JS API see @conventional-changelog/git-client.

License

MIT Steve Mao

Keywords