/GitVersion

Use convention to derive a SemVer product version from a GitFlow based repository

Primary LanguageC#MIT LicenseMIT

Icon

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!

README

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.

Usage:

GitVersion can be used in several ways

Examples

We have a bunch of examples in our Wiki, if something is missing, let us know! There are examples for GitHubFlow and GitFlow

Supported Variables

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

Additional Links

Icon

Tree designed by David Chapman from The Noun Project