IVersionStrategy Interface

graph BT Type["IVersionStrategy"] class Type type-node Implementing0["FallbackVersionStrategy"]-.->Type click Implementing0 "/api/GitVersion.VersionCalculation/FallbackVersionStrategy" Implementing1["VersionInBranchNameVersionStrategy"]-.->Type click Implementing1 "/api/GitVersion.VersionCalculation/VersionInBranchNameVersionStrategy" Implementing2["TrackReleaseBranchesVersionStrategy"]-.->Type click Implementing2 "/api/GitVersion.VersionCalculation/TrackReleaseBranchesVersionStrategy" Implementing3["VersionStrategyBase"]-.->Type click Implementing3 "/api/GitVersion.VersionCalculation/VersionStrategyBase" Implementing4["MergeMessageVersionStrategy"]-.->Type click Implementing4 "/api/GitVersion.VersionCalculation/MergeMessageVersionStrategy" Implementing5["ConfigNextVersionVersionStrategy"]-.->Type click Implementing5 "/api/GitVersion.VersionCalculation/ConfigNextVersionVersionStrategy" Implementing6["TaggedCommitVersionStrategy"]-.->Type click Implementing6 "/api/GitVersion.VersionCalculation/TaggedCommitVersionStrategy"

Syntax

public interface IVersionStrategy

Methods

Name Value Summary
GetBaseVersions(EffectiveBranchConfiguration) IEnumerable<BaseVersion>
Calculates the GitVersion.VersionCalculation.BaseVersionCalculators.BaseVersion values.

Extension Methods

Name Value Summary
GetProperties() IEnumerable<KeyValuePair<string, string>>
NotNull<IVersionStrategy>(string) T
GitHub