This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.MinVer.
Summary
Run the MinVer dotnet tool with default settings.
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