TaggedCommitVersionStrategy Class

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
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

Extension Methods

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