Syntax
public VersionVariables(string major, string minor, string patch, string buildMetaData, string buildMetaDataPadded, string fullBuildMetaData, string branchName, string escapedBranchName, string sha, string shortSha, string majorMinorPatch, string semVer, string legacySemVer, string legacySemVerPadded, string fullSemVer, string assemblySemVer, string assemblySemFileVer, string preReleaseTag, string preReleaseTagWithDash, string preReleaseLabel, string preReleaseLabelWithDash, string preReleaseNumber, string weightedPreReleaseNumber, string informationalVersion, string commitDate, string nugetVersion, string nugetVersionV2, string nugetPreReleaseTag, string nugetPreReleaseTagV2, string versionSourceSha, string commitsSinceVersionSource, string commitsSinceVersionSourcePadded, string uncommittedChanges)
Parameters
Name |
Type |
Description |
major |
string |
|
minor |
string |
|
patch |
string |
|
buildMetaData |
string |
|
buildMetaDataPadded |
string |
|
fullBuildMetaData |
string |
|
branchName |
string |
|
escapedBranchName |
string |
|
sha |
string |
|
shortSha |
string |
|
majorMinorPatch |
string |
|
semVer |
string |
|
legacySemVer |
string |
|
legacySemVerPadded |
string |
|
fullSemVer |
string |
|
assemblySemVer |
string |
|
assemblySemFileVer |
string |
|
preReleaseTag |
string |
|
preReleaseTagWithDash |
string |
|
preReleaseLabel |
string |
|
preReleaseLabelWithDash |
string |
|
preReleaseNumber |
string |
|
weightedPreReleaseNumber |
string |
|
informationalVersion |
string |
|
commitDate |
string |
|
nugetVersion |
string |
|
nugetVersionV2 |
string |
|
nugetPreReleaseTag |
string |
|
nugetPreReleaseTagV2 |
string |
|
versionSourceSha |
string |
|
commitsSinceVersionSource |
string |
|
commitsSinceVersionSourcePadded |
string |
|
uncommittedChanges |
string |
|
Return Value