VersionInBranchNameVersionStrategy Class

Summary

Version is extracted from the name of the branch. BaseVersionSource is the commit where the branch was branched from its parent. Does not increment.
Namespace
GitVersion.VersionCalculation
Interfaces
Base Types
graph BT Type-->Base0["VersionStrategyBase"] click Base0 "/api/GitVersion.VersionCalculation/VersionStrategyBase" Base0-->Base1["object"] Type-.->Interface0["IVersionStrategy"] click Interface0 "/api/GitVersion.VersionCalculation/IVersionStrategy" Type["VersionInBranchNameVersionStrategy"] class Type type-node

Syntax

public class VersionInBranchNameVersionStrategy : VersionStrategyBase, IVersionStrategy

Constructors

Properties

Name Value Summary
Context GitVersionContext
Inherited from VersionStrategyBase

Methods

Name Value Summary
GetVersions() IEnumerable<BaseVersion>

Extension Methods

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