Summary
Initializes a base version from a source description, semantic version, and optional source commit.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.VersionCalculation - Containing Type
- BaseVersion
Syntax
public BaseVersion(string source, SemanticVersion semanticVersion, ICommit baseVersionSource = null)
Parameters
| Name | Type | Description |
|---|---|---|
| source | string | |
| semanticVersion | SemanticVersion | |
| baseVersionSource | ICommit |
Return Value
| Type | Description |
|---|---|
| void |