Summary
Identifies the position in a semantic version string that should be
incremented.
- 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["VersionField"]
class Type type-node
Syntax
public enum VersionField
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Major | 3 |
Increment the major component (and reset minor and patch
to zero).
static
|
| Minor | 2 |
Increment the minor component (and reset patch to zero).
static
|
| None | 0 |
No field is incremented; the pre-release number is
bumped instead.
static
|
| Patch | 1 |
Increment the patch component.
static
|