Fix #5010 windows builds not pushed

windows builds not pushed to openrct2.org due to invalid condition
This commit is contained in:
Lastorder 2017-01-07 20:18:22 +09:00 committed by Ted John
parent 44d9464d6b
commit 84d2f6c4c7

View file

@ -2,10 +2,10 @@
# Script to deploy OpenRCT2 from AppVeyor # # Script to deploy OpenRCT2 from AppVeyor #
########################################### ###########################################
$testing = (${env:Configuration} -like "*tests") $nottesting = (${env:Configuration} -notlike "*tests")
# Only deploy from VS2015 for now. # Only deploy from VS2015 for now.
$vs2015 = (${env:APPVEYOR_JOB_NAME} -like "*2015*") $notvs2017 = (${env:APPVEYOR_JOB_NAME} -notlike "*2017*")
if (-not $testing -and $vs2015) if ($nottesting -and $notvs2017)
{ {
# Check if OpenRCT2.org API security token is available # Check if OpenRCT2.org API security token is available
if (${env:OPENRCT2_ORG_TOKEN}) if (${env:OPENRCT2_ORG_TOKEN})