tagver
SemVer from your Git tags. Zero dependencies.
A fast Rust CLI and library that calculates version numbers from Git tags and commit height. MinVer-inspired, built on gitoxide, a single static binary with JSON output and a GitHub Action.
Install with Homebrew (macOS, Linux)
brew install wyrd-company/tools/tagver
What it does
-
Reads your Git tags and commit height, and calculates a SemVer 2.0.0 version with no version file to edit.
-
Follows the first parent, so merge commits do not inflate the height.
-
Sets tag prefix, auto-increment, pre-release identifiers, minimum major.minor and build metadata with flags or TAGVER_ environment variables.
-
Prints the version as text, or as JSON for CI scripts.
-
Ships as one binary with no runtime dependencies, from Homebrew, Cargo or a GitHub release archive.
-
Runs as a GitHub Action that exposes the version and its parts as step outputs.
Install
brew install wyrd-company/tools/tagver
cargo install tagver-cli
macOS arm64
curl -LO https://github.com/wyrd-company/tagver/releases/latest/download/tagver-macos-arm64.tar.gz tar -xzf tagver-macos-arm64.tar.gz sudo install tagver-macos-arm64/tagver /usr/local/bin/tagver
brew install wyrd-company/tools/tagver
cargo install tagver-cli
Linux x86_64
curl -LO https://github.com/wyrd-company/tagver/releases/latest/download/tagver-linux-x86_64.tar.gz tar -xzf tagver-linux-x86_64.tar.gz sudo install tagver-linux-x86_64/tagver /usr/local/bin/tagver
cargo install tagver-cli
Documentation
Releases
Fixes
- Publish the
tagverandtagver-clicrates to crates.io with trusted publishing. Releases 0.1.5 and 0.1.6 were never published to crates.io.