MinVerSettingsExtensions.

WithDefaultPreReleasePhase(MinVerSettings, string) Method

Summary

Set the default pre-release phase. --default-pre-release-phase <PHASE> alpha (default), preview, etc.
Assembly
Cake.MinVer.dll
Namespace
Cake.MinVer
Containing Type
MinVerSettingsExtensions

Syntax

public static MinVerSettings WithDefaultPreReleasePhase(this MinVerSettings settings, string defaultPreReleasePhase)

Parameters

Name Type Description
settings MinVerSettings The settings.
defaultPreReleasePhase string The build metadata.

Return Value

Type Description
MinVerSettings The settings instance with DefaultPreReleasePhase set to defaultPreReleasePhase.