Fix -hotfix incrementing wrong version number

This commit is contained in:
Steve Streeting 2020-10-19 17:05:15 +01:00
parent 0b2cac7f34
commit 4862790fa1

View File

@ -78,7 +78,7 @@ function Increment-Project-Version {
$versionDigit = 1 $versionDigit = 1
} elseif ($patch) { } elseif ($patch) {
$versionDigit = 2 $versionDigit = 2
} elseif ($minor) { } elseif ($hotfix) {
$versionDigit = 3 $versionDigit = 3
} }
# increment then zero anything after # increment then zero anything after