DeploymentMode Enum

Summary

Specifies the deployment strategy used to determine how the version number changes between releases.
Namespace
GitVersion.VersionCalculation
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["DeploymentMode"] class Type type-node

Syntax

public enum DeploymentMode

Fields

Name Constant Value Summary
ContinuousDelivery 1
Each commit is a potential release candidate; the build number is appended as the pre-release number.
static
ContinuousDeployment 2
Each commit is automatically deployed; versions are calculated as if every commit is a new release.
static
ManualDeployment 0
Each build on a pre-release branch produces a unique pre-release version; the version is only finalised on an explicit release.
static
GitHub