Summary
Determines which version field to increment given the current commit, base version source, and branch configuration.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.VersionCalculation - Containing Type
- I
Increment Strategy Finder
Syntax
VersionField DetermineIncrementedField(ICommit currentCommit, ICommit baseVersionSource, bool shouldIncrement, EffectiveConfiguration configuration, string label)
Parameters
| Name | Type | Description |
|---|---|---|
| currentCommit | ICommit | |
| baseVersionSource | ICommit | |
| shouldIncrement | bool | |
| configuration | Effective |
|
| label | string |
Return Value
| Type | Description |
|---|---|
| VersionField |