DeploymentMode Class

Summary

Specifies the deployment strategy used to determine how the version number changes between releases.
Assembly
GitVersion.Core.dll
Namespace
GitVersion.VersionCalculation
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["DeploymentMode"] class Type type-node

Syntax

public sealed class DeploymentMode : Enum

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
value__

Extension Methods

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