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
Copy file name to clipboardExpand all lines: Source/Public/Build-Module.ps1
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,10 @@ function Build-Module {
121
121
# The default is nothing. See examples for more details.
122
122
[string]$Prefix,
123
123
124
+
# ZeroPadLegacy controls the conversion of versions to SemVer 1.0 syntax
125
+
# If this is set to a non-zero integer, the numeric identifiers in the prerelease will be zero-padded to that many digits, and dots will be replaced with underscores, to allow compaitibility with the PowerShell gallery.
126
+
[int]$ZeroPadLegacy=0,
127
+
124
128
# The Suffix is either the path to a file (relative to the module folder) or text to put at the bottom of the file.
125
129
# If the value of Suffix resolves to a file, that file will be read in, otherwise, the value will be used.
126
130
# The default is nothing. See examples for more details.
0 commit comments