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
Extensions for
MinVerSettings
.
- Assembly
- Cake
.MinVer .dll - Namespace
- Cake
.MinVer - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["MinVerSettingsExtensions"]
class Type type-node
Syntax
public static class MinVerSettingsExtensions
Methods
Name | Value | Summary |
---|---|---|
FromPath |
MinVerSettings |
Sets the working directory which should be used to run the MinVer tool.
static
|
WithAutoIncrement |
MinVerSettings |
Set the version part to be automatically incremented.
--auto-increment <VERSION_PART>
major, minor, or patch (default)
static
|
WithBuildMetadata |
MinVerSettings |
Set the build metadata.
--build-metadata <BUILD_METADATA>
static
|
With |
MinVerSettings |
Set the default pre-release phase.
--default-pre-release-phase <PHASE>
alpha (default), preview, etc.
static
|
With |
MinVerSettings |
Set the minimum major and minor version.
--minimum-major-minor <MINIMUM_MAJOR_MINOR>
1.0, 1.1, 2.0, etc.
static
|
WithNoFallback |
MinVerSettings |
By default, MinVer is executed as a local tool first(*) and, in case of error, fallback to global tool(*)
Set
NoFallback to to disable the fallback in case of an error
(*) Unless PreferGlobalTool is set to , in which case MinVer is
executed as a global tool first and, in case of an error, fallback to local tool
Local tool = `dotnet minver`
Global tool = `minver`
static
|
WithPreferGlobalTool |
MinVerSettings |
By default, MinVer is executed as a local tool first and, in case of error, fallback(*) to global tool
Set
PreferGlobalTool to to execute MinVer as global tool first and,
in case of an error, fallback(*) to local tool
(*) Unless the fallback is disabled via NoFallback
Local tool = `dotnet minver`
Global tool = `minver`
static
|
WithRepo |
MinVerSettings |
Set the working directory for MinVer to use.
--repo <REPO>
static
|
WithTagPrefix |
MinVerSettings |
Set the tag prefix.
--tag-prefix <TAG_PREFIX>
static
|
WithToolPath |
MinVerSettings |
Set a custom path to the minver.exe file.
static
|
WithVerbosity |
MinVerSettings |
Set the verbosity.
--verbosity <VERBOSITY>
error, warn, info (default), debug, or trace
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|