From 84d2f6c4c7cd3ef0a592cf957e41cab05684166f Mon Sep 17 00:00:00 2001 From: Lastorder Date: Sat, 7 Jan 2017 20:18:22 +0900 Subject: [PATCH] Fix #5010 windows builds not pushed windows builds not pushed to openrct2.org due to invalid condition --- scripts/ps/appveyor_deploy.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ps/appveyor_deploy.ps1 b/scripts/ps/appveyor_deploy.ps1 index fa4a605483..4bd3cc8ad6 100644 --- a/scripts/ps/appveyor_deploy.ps1 +++ b/scripts/ps/appveyor_deploy.ps1 @@ -2,10 +2,10 @@ # Script to deploy OpenRCT2 from AppVeyor # ########################################### -$testing = (${env:Configuration} -like "*tests") +$nottesting = (${env:Configuration} -notlike "*tests") # Only deploy from VS2015 for now. -$vs2015 = (${env:APPVEYOR_JOB_NAME} -like "*2015*") -if (-not $testing -and $vs2015) +$notvs2017 = (${env:APPVEYOR_JOB_NAME} -notlike "*2017*") +if ($nottesting -and $notvs2017) { # Check if OpenRCT2.org API security token is available if (${env:OPENRCT2_ORG_TOKEN})