MinVerAliases.

MinVer(ICakeContext) Method

Summary

Run the MinVer dotnet tool with default settings.
Assembly
Cake.MinVer.dll
Namespace
Cake.MinVer
Containing Type
MinVerAliases

Syntax

public static MinVerVersion MinVer(this ICakeContext context)

Examples

var buildVersion = MinVer();

Information($"Version: {buildVersion.Version}");
Information($"Major: {buildVersion.Major}");
Information($"Minor: {buildVersion.Minor}");
Information($"Patch: {buildVersion.Patch}");
Information($"PreRelease: {buildVersion.PreRelease}");
Information($"BuildMetadata: {buildVersion.BuildMetadata}");
// ...

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
MinVerVersion