Cake Build addon to assist with reading version numbers from an assembly
#addin nuget:?package=Cake.VersionReader&version=5.1.0
dotnet add package Cake.VersionReader --version 5.1.0
<PackageReference Include="Cake.VersionReader" Version="5.1.0" />
Aliases
Contains functionality for retrieving version numbers from assemblies
General
GetFullVersionNumber |
Get the version number from an assembly in 4-digit format. |
Get |
Get the version number from an assembly in 4-digit format with the current build number appended. |
GetVersionNumber |
Get the version number from an assembly in SemVer format. |
Get |
Get the version number with the current build number appended. This is based on the article found here: http://www.xavierdecoster.com/semantic-versioning-auto-incremented-nuget-package-versions |