The easy way to use semantic versioning (semver.org) with a Git.
GitVersion uses your git repository branching conventions to determine the current Semantic Version of your application. It supports GitFlow and the much simpler GitHubFlow and might work with others (let us know).
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
Once a release is done, and you tag the commit which was released, the version will automatically be bumped. See our wiki for the rules and examples of how we increment the SemVer.
GitVersion can be used in several ways
- An MSBuild Task
- A NuGet Library package - to use from your own code
- A Command Line tool
- A Ruby Gem
We have a bunch of examples in our Wiki, if something is missing, let us know! There are examples for GitHubFlow and GitFlow
Because not everyone is the same, we give you a bunch of different variables which you can use in your builds to meet your requirements
Have questions? Come join in the chat room:
![Gitter](https://badges.gitter.im/Join Chat.svg)
Tree designed by David Chapman from The Noun Project