MinVerSettingsExtensions Class

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, DirectoryPath) MinVerSettings
Sets the working directory which should be used to run the MinVer tool.
static
WithAutoIncrement(MinVerSettings, MinVerAutoIncrement) MinVerSettings
Set the version part to be automatically incremented. --auto-increment <VERSION_PART> major, minor, or patch (default)
static
WithBuildMetadata(MinVerSettings, string) MinVerSettings
Set the build metadata. --build-metadata <BUILD_METADATA>
static
WithDefaultPreReleasePhase(MinVerSettings, string) MinVerSettings
Set the default pre-release phase. --default-pre-release-phase <PHASE> alpha (default), preview, etc.
static
WithMinimumMajorMinor(MinVerSettings, string) MinVerSettings
Set the minimum major and minor version. --minimum-major-minor <MINIMUM_MAJOR_MINOR> 1.0, 1.1, 2.0, etc.
static
WithRepo(MinVerSettings, DirectoryPath) MinVerSettings
Set the working directory for MinVer to use. --repo <REPO>
static
WithTagPrefix(MinVerSettings, string) MinVerSettings
Set the tag prefix. --tag-prefix <TAG_PREFIX>
static
WithVerbosity(MinVerSettings, MinVerVerbosity) MinVerSettings
Set the verbosity. --verbosity <VERBOSITY> error, warn, info (default), debug, or trace
static