GitVersion.VersionCalculation Namespace

Interface Types

Interface Summary
IBaseVersion Represents a resolved base version that carries both a semantic version value and a pending increment.
IBaseVersionIncrement Base interface for types that describe a version increment: a source description and the commit that anchors the calculation.
IDeploymentModeCalculator Applies a deployment-mode-specific calculation to transform a base semantic version into the final version.
IEffectiveBranchConfigurationFinder Resolves the set of EffectiveBranchConfiguration instances that apply to a given branch.
IIncrementStrategyFinder Determines the version-field increment that should be applied based on commit messages and branch context.
INextVersionCalculator Orchestrates the full version calculation pipeline and returns the next semantic version.
IVariableProvider Converts a calculated SemanticVersion into the full set of GitVersionVariables.
IVersionFilter Determines whether a base version or commit should be excluded from version calculation.
IVersionStrategy Implements a strategy for discovering candidate base versions from a specific source (e.g. tags, branch names, merge messages).

Class Types

Class Summary
BaseVersion Represents a resolved base version consisting of an operand (the discovered version) and an optional operator (the increment to apply).
BaseVersionOperand Represents the discovered base version — the semantic version value and the commit it was found at.
BaseVersionOperator Describes the version increment operation that should be applied to a BaseVersionOperand to produce the next version.
CommitMessageIncrement Represents a version increment selected from a commit message and whether prior increments must be reset.
CommitMessageIncrementMode Controls whether and how commit messages are used to determine automatic version increments.
DeploymentMode Specifies the deployment strategy used to determine how the version number changes between releases.
NextVersion Represents the next calculated version together with its base version and branch configuration.
VersionCalculationModule Registers the version-calculation services including version strategies, variable provider, deployment-mode calculators, and increment strategy finder.
VersionStrategies A bitmask that enables or disables individual version-discovery strategies.
VersionStrategyModule Registers the built-in IVersionStrategy implementations.

Namespaces