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})