Summary
Version is extracted from older commits' merge messages.
BaseVersionSource is the commit where the message was found.
Increments if PreventIncrementOfMergedBranchVersion (from the branch
config) is false.
- 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["MergeMessageVersionStrategy"] class Type type-node
Syntax
public class MergeMessageVersionStrategy : VersionStrategyBase, IVersionStrategy
Constructors
Fields
Name | Constant Value | Summary |
---|---|---|
Merge |
Merge message |
static
|
Properties
Name | Value | Summary |
---|---|---|
Context | GitVersionContext |
Inherited from
VersionStrategyBase
|
Methods
Name | Value | Summary |
---|---|---|
GetBaseVersions |
IEnumerable |
Extension Methods
Name | Value | Summary |
---|---|---|
GetProperties |
IEnumerable |
From
ObjectExtensions
|
NotNull |
T |
From
CommonExtensions
|