Skip to content

Commit

Permalink
Fix ps1 syntax error.
Browse files Browse the repository at this point in the history
  • Loading branch information
yfakariya committed Jul 3, 2016
1 parent a11a75c commit 30e8687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/SetBuildEnv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand Down

0 comments on commit 30e8687

Please sign in to comment.