CommitMessageIncrementMode Class

Summary

Controls whether and how commit messages are used to determine automatic version increments.
Assembly
GitVersion.Core.dll
Namespace
GitVersion.VersionCalculation
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["CommitMessageIncrementMode"] class Type type-node

Syntax

public sealed class CommitMessageIncrementMode : Enum

Fields

Name Constant Value Summary
Disabled 1
Commit messages are never inspected; increments must be configured explicitly.
static
Enabled 0
All commit messages are inspected for increment keywords.
static
MergeMessageOnly 2
Only merge commit messages are inspected for increment keywords.
static
value__

Extension Methods

Name Value Summary
NotNull<CommitMessageIncrementMode>(string) T
Throws System.ArgumentNullException when value is null; otherwise returns the value.