Cake.SemVer

Cake build aliases and classes for Semantic Versioning.

#addin nuget:?package=Cake.SemVer&version=4.0.0

dotnet add package Cake.SemVer --version 4.0.0

<PackageReference Include="Cake.SemVer" Version="4.0.0" />

Aliases

Semantic Versioning aliases.

In order to use aliases from this addin, you will need to also reference semver as an addin. Here is what including Cake.SemVer in your script should look like:

#addin package:?Cake.SemVer
#addin package:?semver&version=2.0.4

General

CreateSemVer(int, int, int, string, string) Create a Semantic Version instance
CreateSemVer(int, int, int, string) Create a Semantic Version instance
CreateSemVer(int, int, int) Create a Semantic Version instance
ParseSemVer(string, bool) Parse a semantic version from a string
ParseSemVer(string) Parse a semantic version from a string