Skip to content

Commit

Permalink
version.ps1: Fixed 3 component version number
Browse files Browse the repository at this point in the history
  • Loading branch information
NightOwl888 committed Jan 14, 2022
1 parent fc6eceb commit c8bcf8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .build/version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function Force-ThreeOrFourComponents([version]$version) {
[int]$bld = [Math]::Max(0, $version.Build)
[int]$rev = $version.Revision

if ($rev -ge 0) {
if ($rev -gt 0) {
return New-Object System.Version -ArgumentList @($maj, $min, $bld, $rev)
} else {
return New-Object System.Version -ArgumentList @($maj, $min, $bld)
Expand Down

0 comments on commit c8bcf8d

Please sign in to comment.