Summary
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.
- Namespace
- GitVersion
.VersionCalculation - Interfaces
- Base Types
-
- object
- VersionStrategyBase
graph BT
Type-->Base0["VersionStrategyBase"]
click Base0 "/api/GitVersion.VersionCalculation/VersionStrategyBase"
Base0-->Base1["object"]
Type-.->Interface0["IVersionStrategy"]
click Interface0 "/api/GitVersion.VersionCalculation/IVersionStrategy"
Type["TaggedCommitVersionStrategy"]
class Type type-node
Syntax
public class TaggedCommitVersionStrategy : VersionStrategyBase, IVersionStrategy
Constructors
Properties
Name | Value | Summary |
---|---|---|
Context | GitVersionContext |
Inherited from VersionStrategyBase
|
Methods
Name | Value | Summary |
---|---|---|
FormatSource |
string | |
GetBaseVersions |
IEnumerable |
Extension Methods
Name | Value | Summary |
---|---|---|
GetProperties |
IEnumerable |
From ObjectExtensions
|
NotNull |
T |
From CommonExtensions
|