We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c189fe0 commit 8494d6fCopy full SHA for 8494d6f
Scripts/BumpVersion.ps1
@@ -92,7 +92,7 @@ function BumpVersion([string] $currentVersion) {
92
$versionParts = $currentVersion.split(".")
93
$minor = [Int]($versionParts[1]) + 1
94
95
- $versionPattern = "(\d)\.(\d)\.(\d)"
+ $versionPattern = "(\d+)\.(\d+)\.(\d+)"
96
$versionReplacePattern = '$1.'+$minor+'.$3'
97
98
$version = $currentVersion -replace $versionPattern, $versionReplacePattern
0 commit comments