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.
- Assembly
- GitVersion
.Core .dll - 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
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
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
|