https://github.com/binbiubiubiu/git-semver-tags
Get all git semver tags of your repository in reverse chronological order
https://github.com/binbiubiubiu/git-semver-tags
cli git git-tag rust
Last synced: about 1 year ago
JSON representation
Get all git semver tags of your repository in reverse chronological order
- Host: GitHub
- URL: https://github.com/binbiubiubiu/git-semver-tags
- Owner: Binbiubiubiu
- License: mit
- Created: 2022-10-29T22:08:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-02T12:36:30.000Z (over 3 years ago)
- Last Synced: 2025-04-12T12:11:44.646Z (about 1 year ago)
- Topics: cli, git, git-tag, rust
- Language: Rust
- Homepage: https://crates.io/crates/git-semver-tags
- Size: 75.2 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# git-semver-tags
   [](https://github.com/Binbiubiubiu/git-semver-tags/actions/workflows/CI.yml) [](https://codecov.io/gh/Binbiubiubiu/git-semver-tags)
Get all git semver tags of your repository in reverse chronological order
## Install
Run
``` Console
$ cargo install git-semver-tags
```
### Via cargo-binstall
You can install cargo-llvm-cov using [cargo-binstall](https://github.com/ryankurte/cargo-binstall):
``` Console
$ cargo binstall git-semver-tags
```
## Usage
By default, it runs check. You can easily override this, though:
``` Console
$ git-semver-tags [OPTIONS]
```
A few examples:
``` Console
# Run get all tags
$ git-semver-tags
# Run to get lerna tag
$ git-semver-tags --lerna
# Run the lerna tag to get the specified package name
$ git-semver-tags --lerna --package
# Runs get tag for the specified prefix
$ git-semver-tags --tag-prefix
# Run get to ignore unstable tag
$ git-semver-tags --skip-unstable
# Run get label under the specified path
$ git-semver-tags --cwd
# Run upgrade self version
$ git-semver-tags upgrade
```
There's a lot more you can do! Here's a copy of the help:
``` Console
Get all git semver tags of your repository in reverse chronological order
Usage: git-semver-tags [OPTIONS] [COMMAND]
Commands:
upgrade upgrade self version
help Print this message or the help of the given subcommand(s)
Options:
--lerna parse lerna style git tags
--package when listing lerna style tags, filter by a package
--tag-prefix prefix to remove from the tags during their processing
--cwd the current path where the command was run
--skip-unstable ignore unstable labels
-h, --help Print help
-V, --version Print version
```