Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

git-semver-tags

Get all git semver tags of your repository in reverse chronological order.

git-semver-tags, order, semver, tag, git-tag, git

readme

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