Merge pull request #1189 from mattias-symphony/signing

fix: Added error check to detect signing failure
This commit is contained in:
mattias-symphony 2021-02-10 14:26:39 +01:00 committed by GitHub
commit e9bb5757b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"