Crate git_semver_tags

source ·
Expand description

git-semver-tags

Crates.io Crates.io Crates.io CI codecov

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

Install

Run

$ cargo install git-semver-tags

Via cargo-binstall

You can install cargo-llvm-cov using cargo-binstall:

cargo binstall git-semver-tags

Usage

By default, it runs check. You can easily override this, though:

$ git-semver-tags [OPTIONS]

A few examples:

$ git-semver-tags

$ git-semver-tags --lerna

$ git-semver-tags --lerna --package <package>

$ git-semver-tags --tag-prefix <prefix>

$ git-semver-tags --skip-unstable

$ git-semver-tags --cwd <cwd>

There’s a lot more you can do! Here’s a copy of the help:

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

Usage: git-semver-tags [OPTIONS]

Options:
    --lerna                parse lerna style git tags
    --package <package>    when listing lerna style tags, filter by a package
    --tag-prefix <prefix>  prefix to remove from the tags during their processing
    --cwd <cwd>            the current path where the command was run
    --skip-unstable        ignore unstable labels
    -h, --help                 Print help information
    -V, --version              Print version information

Structs

The command line specifies the parameters

Functions

List the git tags in the project