SemanticVersion.

SemanticVersion.IncrementMode Enum

Summary

Controls how version incrementing is applied.
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["SemanticVersion.IncrementMode"] class Type type-node

Syntax

public enum SemanticVersion.IncrementMode

Fields

Name Constant Value Summary
EnsureIntegrity 2
Ensures the resulting version is strictly greater than the current one without forcing an unnecessary bump.
static
Force 1
Always bumps the version field regardless of whether a pre-release tag is present.
static
Standard 0
Increments the pre-release number when already on a pre-release, otherwise bumps the field.
static
GitHub