SemVerAliases.

CreateSemVer(ICakeContext, int, int, int, string, string) Method

Summary

Create a Semantic Version instance
Assembly
Cake.SemVer.dll
Namespace
Cake.SemVer
Containing Type
SemVerAliases

Syntax

public static SemVersion CreateSemVer(this ICakeContext context, int major, int minor, int patch, string prerelease, string build)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
major int The major.
minor int The minor.
patch int The patch.
prerelease string The prerelease.
build string The build.

Return Value

Type Description
SemVersion The semantic version.