Added error check to detect signing failure

This commit is contained in:
Mattias Gustavsson
2021-02-10 13:22:38 +01:00
parent 99e09a4255
commit befba67e17
+4
View File
@@ -158,6 +158,10 @@ if NOT EXIST %SIGNING_FILE_PATH% (
exit /b -1
)
call %SIGNING_FILE_PATH%
IF %errorlevel% neq 0 (
echo "Failed to sign installer"
exit /b -1
)
echo "Copying New MSI installer to target dir"
copy "WixSharpInstaller\Symphony.msi" "%targetsDir%\%archiveName%.msi"