MinVerSettingsExtensions.

WithAutoIncrement(MinVerSettings, MinVerAutoIncrement) Method

Summary

Set the version part to be automatically incremented. --auto-increment <VERSION_PART> major, minor, or patch (default)
Assembly
Cake.MinVer.dll
Namespace
Cake.MinVer
Containing Type
MinVerSettingsExtensions

Syntax

public static MinVerSettings WithAutoIncrement(this MinVerSettings settings, MinVerAutoIncrement autoIncrement)

Parameters

Name Type Description
settings MinVerSettings The settings.
autoIncrement MinVerAutoIncrement The version part to be automatically incremented.

Return Value

Type Description
MinVerSettings The settings instance with AutoIncrement set to autoIncrement.