From 30e8687d614bc9b7b93dd81b5f7ca5bb85389f2e Mon Sep 17 00:00:00 2001 From: yfakariya Date: Sun, 3 Jul 2016 22:48:42 +0900 Subject: [PATCH] Fix ps1 syntax error. --- build/SetBuildEnv.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/SetBuildEnv.ps1 b/build/SetBuildEnv.ps1 index 85614007c..e1a4b1339 100644 --- a/build/SetBuildEnv.ps1 +++ b/build/SetBuildEnv.ps1 @@ -9,7 +9,7 @@ if ( $env:APPVEYOR_REPO_TAG -ne "True" ) $daysSpan = $now - ( New-Object DateTime( $now.Year, 1, 1 ) ) $env:PackageVersion = "${version}-{0:yy}{1:000}" -f @( $now, $daysSpan.Days ) } - else if ( ${version} -match "^[\d.]+$" ) + elseif ( ${version} -match "^[\d.]+$" ) { $env:PackageVersion = "${version}-final-${env:APPVEYOR_BUILD_NUMBER}" }