GitVersion logo

GitVersion

A command-line tool that calculates semantic version numbers from a Git repository's history.

Open sourceBy GitTools

Compare GitVersion with another product

1 more way to get GitVersion

Alternatives

See all alternatives

About GitVersion

GitVersion reads a repository's commit history, branches and tags and works out a Semantic Versioning number for the current build, so version numbers do not have to be set by hand. Its behaviour is configured with a GitVersion.yml file in the repository.

It is mostly used in build scripts and continuous integration pipelines, where the calculated version can be stamped into packages and release artifacts. The project is developed in the open on GitHub with a long commit history and an active codebase.

Strengths

  • Derives SemVer numbers automatically from Git history
  • Configurable through a YAML file kept in the repository
  • Fits into CI pipelines and build scripts
  • Actively developed with a large commit history

Limitations

  • Results depend on following a consistent branching and tagging model
  • Configuration takes some learning for unusual workflows

Details

Pricing
FreeFree and open source.
License
Open source, license not stated
Developer
GitTools
Platforms
Windows, Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
Teams that want automatic version numbers in their build pipeline
Last verified
Added

Report a wrong fact or a dead link on this listing