You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
semver1="-"+NumericIdentifierRegex.Replace(semver1.Substring(1), m =>string.Format(CultureInfo.InvariantCulture,paddingFormatter,int.Parse(m.Groups[1].Value)));
Copy file name to clipboardexpand all lines: src/NerdBank.GitVersioning/version.schema.json
+7
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,13 @@
32
32
"description": "A number to add to the git height when calculating the build number.",
33
33
"default": 0
34
34
},
35
+
"semVer1NumericIdentifierPadding": {
36
+
"type": "integer",
37
+
"description": "The minimum number of digits to use for numeric identifiers in SemVer 1.",
38
+
"default": 4,
39
+
"minimum": 1,
40
+
"maximum": 6
41
+
},
35
42
"publicReleaseRefSpec": {
36
43
"type": "array",
37
44
"description": "An array of regular expressions that may match a ref (branch or tag) that should be built with PublicRelease=true as the default value. The ref matched against is in its canonical form (e.g. refs/heads/master)",
0 commit comments