MergeMessageVersionStrategy Class

Summary

Version is extracted from older commits's merge messages. BaseVersionSource is the commit where the message was found. Increments if PreventIncrementForMergedBranchVersion (from the branch config) is false.
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["MergeMessageVersionStrategy"] class Type type-node

Syntax

public class MergeMessageVersionStrategy : VersionStrategyBase, IVersionStrategy

Constructors

Fields

Name Constant Value Summary
MergeMessageStrategyPrefix
static

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