GitVersion.VersionCalculation Namespace

Interface Types

Class Types

Class Summary
BaseVersion
BaseVersionCalculator
ConfigNextVersionVersionStrategy Version is from NextVersion (the configuration value), unless the current commit is tagged. BaseVersionSource is null. Does not increment.
FallbackVersionStrategy Version is 0.1.0. BaseVersionSource is the "root" commit reachable from the current commit. Does not increment.
IncrementStrategyFinder
MergeMessageVersionStrategy Version is extracted from older commits' merge messages. BaseVersionSource is the commit where the message was found. Increments if PreventIncrementOfMergedBranchVersion (from the branch config) is false.
MinDateVersionFilter
NextVersion
NextVersionCalculator
ShaVersionFilter
TaggedCommitVersionStrategy Version is extracted from all tags on the branch which are valid, and not newer than the current commit. BaseVersionSource is the tag's commit. Increments if the tag is not the current commit.
TrackReleaseBranchesVersionStrategy Active only when the branch is marked as IsDevelop. Two different algorithms (results are merged):

Using VersionInBranchNameVersionStrategy: Version is that of any child branches marked with IsReleaseBranch (except if they have no commits of their own). BaseVersionSource is the commit where the child branch was created. Always increments.

Using TaggedCommitVersionStrategy: Version is extracted from all tags on the main branch which are valid. BaseVersionSource is the tag's commit (same as base strategy). Increments if the tag is not the current commit (same as base strategy).

VariableProvider
VersionCalculationModule
VersionInBranchNameVersionStrategy Version is extracted from the name of the branch. BaseVersionSource is the commit where the branch was branched from its parent. Does not increment.
VersionStrategyBase
VersionStrategyModule

Enum Types

Namespaces

GitHub