From 7f9cbac232ceb508862a95d5820bebfd3608fcdc Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 28 Jul 2018 19:56:08 -0700 Subject: [PATCH] Fix more AppVeyor bugs --- scripts/generate-installers.bat | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/generate-installers.bat b/scripts/generate-installers.bat index 5451f706..9b71ec78 100644 --- a/scripts/generate-installers.bat +++ b/scripts/generate-installers.bat @@ -6,17 +6,22 @@ setlocal enableDelayedExpansion set BUILD_CONFIG=%1 set ARCH=%2 -if /I "%BUILD_CONFIG%" NEQ "debug" ( - if /I "%BUILD_CONFIG%" NEQ "release" ( +rem Convert to lower case for windeployqt +if /I "%BUILD_CONFIG%"=="debug" ( + set BUILD_CONFIG=debug +) else ( + if /I "%BUILD_CONFIG%"=="release" ( + set BUILD_CONFIG=release + ) else ( echo Invalid build configuration - goto Error + exit /b 1 ) ) if /I "%ARCH%" NEQ "x86" ( if /I "%ARCH%" NEQ "x64" ( echo Invalid build architecture - goto Error + exit /b 1 ) )