IncrementStrategy Enum

Summary

Specifies which version component should be incremented when creating a release from a branch.
Namespace
GitVersion
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["IncrementStrategy"] class Type type-node

Syntax

public enum IncrementStrategy

Fields

Name Constant Value Summary
Inherit 4
Inherit the increment strategy from the parent or source branch.
static
Major 1
Increment the major component.
static
Minor 2
Increment the minor component.
static
None 0
No automatic increment is applied.
static
Patch 3
Increment the patch component.
static
GitHub