Back to Conventional Changelog

git-semver-tags

packages/git-semver-tags/README.md

1.1.02.0 KB
Original Source

git-semver-tags

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

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

CLI

bash
# 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