Easy Semantic Versioning (http://semver.org) for projects using Git




Versioning when using git, solved. GitVersion looks at your git history and works out the semantic version of the commit being built.

Gitter Build status Build Status Build Status codecov

Stable Pre-release
Docs Docs Docs
GitHub Release GitHub release -
GitVersion.Portable Chocolatey Chocolatey
GitVersionCore NuGet NuGet
GitVersionTask NuGet NuGet
GitVersion.CommandLine NuGet NuGet
GitVersion.CommandLine.DotNetCore NuGet NuGet
GitVersion.Tool NuGet NuGet
Gem Gem -
Homebrew homebrew -
Docker DotnetCore Dotnetcore -
Docker FullFX FullFX -


GitVersion works on Mac, Linux with Mono and Windows.

Tip: If you get System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.DllNotFoundException: lib/linux/x86_64/libgit2-baa87df.so

You likely need to install libcurl3. Run sudo apt-get install libcurl3

Quick Links

GitVersion in action!


You are seeing:

  • Pull requests being built as pre-release builds
  • A branch called release-1.0.0 producing beta v1 packages


Tree designed by David Chapman from The Noun Project