Cake.HgVersion

Cake AddIn that extends Cake with SemVer versioning using Mercurial history

#addin nuget:?package=Cake.HgVersion&version=0.2.0

dotnet add package Cake.HgVersion --version 0.2.0

<PackageReference Include="Cake.HgVersion" Version="0.2.0" />

Aliases

Contains functionality for versioning using Mercurial history.
#addin Cake.HgVersion

General

GetVersion(DirectoryPath) Return information about current project version.
SetVersionTag(DirectoryPath, VersionVariables) Set version tag to current commit.
UpdateAssemblyInfo(VersionVariables, DirectoryPath, string) Update assembly info file or generate if threre is no such file.