Propagate the exit code if we can't generate the installer

No need to check previous commands, if they fail, iscc will fail for sure.
This commit is contained in:
Luis Ángel San Martín 2019-08-18 21:52:18 +02:00
parent df6f368015
commit cc197b3ca5

View File

@ -56,6 +56,6 @@ if "%1"=="x86" (
type build_installer.iss | findstr /v ArchitecturesInstallIn64BitMode | findstr /v ArchitecturesAllowed > build_installer.iss
)
iscc /DVERSION=%VERSION% /DPLATFORM=%1 /DCOMPRESSED_ARCHIVE_BACKEND=%2 /DBUILD_NUMBER=%3 build_installer.iss
iscc /DVERSION=%VERSION% /DPLATFORM=%1 /DCOMPRESSED_ARCHIVE_BACKEND=%2 /DBUILD_NUMBER=%3 build_installer.iss || exit /b
cd ..