Summary
Controls under what circumstances automatic version increments should be suppressed.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Configuration
graph BT
Type["IPreventIncrementConfiguration"]
class Type type-node
Syntax
public interface IPreventIncrementConfiguration
Properties
| Name | Value | Summary |
|---|---|---|
| OfMergedBranch | Nullable |
Gets a value indicating whether version increment is prevented when this branch is itself the result of a merge.
|
| WhenBranchMerged | Nullable |
Gets a value indicating whether version increment is prevented at the point when this branch is merged into another.
|
| When |
Nullable |
Gets a value indicating whether version increment is prevented when the current commit is already tagged.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|