SemVerAliases Class

Summary

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

Assembly
Cake.SemVer.dll
Namespace
Cake.SemVer
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SemVerAliases"] class Type type-node

Syntax

public static class SemVerAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
CreateSemVer(ICakeContext, int, int, int, string, string) SemVersion
Create a Semantic Version instance
static
CreateSemVer(ICakeContext, int, int, int, string) SemVersion
Create a Semantic Version instance
static
CreateSemVer(ICakeContext, int, int, int) SemVersion
Create a Semantic Version instance
static
ParseSemVer(ICakeContext, string, bool) SemVersion
Parse a semantic version from a string
static
ParseSemVer(ICakeContext, string) SemVersion
Parse a semantic version from a string
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin