Cake wrapper for Nerdbank.GitVersioning. Stamps your assemblies with semver 2.0 compliant git commit specific version information and provides NuGet versioning information as well.
$ dotnet add package Cake.GitVersioningThis is a Cake Build plugin that adds Nerdbank.GitVersioning functionality to your build.
Add #addin Cake.GitVersioning to the top of your Cake Build script. See here for usage. See here for the VersionOracle usage.
Task("GetVersion")
.Does(() =>
{
Information(GitVersioningGetVersion().SemVer2)
});