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
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.
VersionStrategyModule Automatically discovers and registers all concrete IVersionStrategy implementations found in the current assembly.

Enum Types

Enum Summary
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.
VersionStrategies A bitmask that enables or disables individual version-discovery strategies.

Namespaces

GitHub