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
Contains settings used by
MinVerTool
.
- Assembly
- Cake
.MinVer .dll - Namespace
- Cake
.MinVer - Interfaces
-
- ICloneable
- Base Types
-
- DotNetSettings
graph BT
Type-->Base0["DotNetSettings"]
Type-.->Interface0["ICloneable"]
Type["MinVerSettings"]
class Type type-node
Syntax
public class MinVerSettings : DotNetSettings, ICloneable
Constructors
Name | Summary |
---|---|
MinVerSettings |
Properties
Name | Value | Summary |
---|---|---|
AutoIncrement | Nullable |
Set the version part to be automatically incremented.
--auto-increment <VERSION_PART>
major, minor, or patch (default)
|
BuildMetadata | string |
Set the build metadata.
--build-metadata <BUILD_METADATA>
|
Default |
string |
Set the default pre-release phase.
--default-pre-release-phase <PHASE>
alpha (default), preview, etc.
|
MinimumMajorMinor | string |
Set the minimum major and minor version.
--minimum-major-minor <MINIMUM_MAJOR_MINOR>
1.0, 1.1, 2.0, etc.
|
NoFallback | Nullable |
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`
|
PreferGlobalTool | Nullable |
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`
|
Repo | DirectoryPath |
Set the working directory for MinVer to use.
--repo <REPO>
|
TagPrefix | string |
Set the tag prefix.
--tag-prefix <TAG_PREFIX>
|
Verbosity | Nullable |
Set the verbosity.
--verbosity <VERBOSITY>
error, warn, info (default), debug, or trace
|
Methods
Name | Value | Summary |
---|---|---|
Clone |
MinVerSettings |
Creates a shallow clone of this
MinVerSettings instance
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
FromPath |
MinVerSettings |
Sets the working directory which should be used to run the MinVer tool.
Requires the Cake.MinVer addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
WithAutoIncrement |
MinVerSettings |
Set the version part to be automatically incremented.
--auto-increment <VERSION_PART>
major, minor, or patch (default)
Requires the Cake.MinVer addin
|
WithBuildMetadata |
MinVerSettings |
Set the build metadata.
--build-metadata <BUILD_METADATA>
Requires the Cake.MinVer addin
|
With |
MinVerSettings |
Set the default pre-release phase.
--default-pre-release-phase <PHASE>
alpha (default), preview, etc.
Requires the Cake.MinVer addin
|
With |
MinVerSettings |
Set the minimum major and minor version.
--minimum-major-minor <MINIMUM_MAJOR_MINOR>
1.0, 1.1, 2.0, etc.
Requires the Cake.MinVer addin
|
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`
Requires the Cake.MinVer addin
|
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`
Requires the Cake.MinVer addin
|
WithRepo |
MinVerSettings |
Set the working directory for MinVer to use.
--repo <REPO>
Requires the Cake.MinVer addin
|
WithTagPrefix |
MinVerSettings |
Set the tag prefix.
--tag-prefix <TAG_PREFIX>
Requires the Cake.MinVer addin
|
WithToolPath |
MinVerSettings |
Set a custom path to the minver.exe file.
Requires the Cake.MinVer addin
|
WithVerbosity |
MinVerSettings |
Set the verbosity.
--verbosity <VERBOSITY>
error, warn, info (default), debug, or trace
Requires the Cake.MinVer addin
|