Skip to content

Commit c7fb845

Browse files
committed
fixed issue with build number not getting appended to build and local pre-releases.
1 parent ace649d commit c7fb845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Properties {
1414
if(-not [string]::IsNullOrEmpty($pre_release)) {
1515
$sem_version = "$sem_version-$($pre_release)"
1616

17-
if(-not ($pre_release -eq "build" -or $pre_release -eq "local")) {
17+
if($pre_release -eq "build" -or $pre_release -eq "local") {
1818
# These should be + instead of -, but nuget doesn't allow that right now
1919
# Also padding the build number because nuget sorts lexigraphically
2020
# meaning that 2 > 10. So, we make it such that 0002 < 0010.

0 commit comments

Comments
 (0)