Skip to content

Commit 30e8687

Browse files
committed
Fix ps1 syntax error.
1 parent a11a75c commit 30e8687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/SetBuildEnv.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if ( $env:APPVEYOR_REPO_TAG -ne "True" )
99
$daysSpan = $now - ( New-Object DateTime( $now.Year, 1, 1 ) )
1010
$env:PackageVersion = "${version}-{0:yy}{1:000}" -f @( $now, $daysSpan.Days )
1111
}
12-
else if ( ${version} -match "^[\d.]+$" )
12+
elseif ( ${version} -match "^[\d.]+$" )
1313
{
1414
$env:PackageVersion = "${version}-final-${env:APPVEYOR_BUILD_NUMBER}"
1515
}

0 commit comments

Comments
 (0)