changeset 697:11e9454800cc

Signing update
author Chris Cannam
date Mon, 10 Dec 2018 17:35:24 +0000
parents 6a3d38b7f672
children 52b8a499f379
files deploy/win32/build-and-package.bat
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/win32/build-and-package.bat	Mon Dec 10 16:02:49 2018 +0000
+++ b/deploy/win32/build-and-package.bat	Mon Dec 10 17:35:24 2018 +0000
@@ -104,9 +104,7 @@
 
 if "%ARG%" == "sign" (
 @echo Signing components
-signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 *.dll *.exe lib\*
-signtool verify /pa sonic-visualiser.msi
-rem AND MORE
+signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 *.dll *.exe *\*.pyd *\*\*.pyd
 )
 
 set PATH=%PATH%;"C:\Program Files (x86)\WiX Toolset v3.11\bin"
@@ -114,5 +112,10 @@
 del easyhg.msi
 candle -v ..\..\deploy\win32\easyhg.wxs
 light -b . -ext WixUIExtension -ext WixUtilExtension -v easyhg.wixobj
+if %errorlevel% neq 0 exit /b %errorlevel%
 
-rem Todo: the rest
+if "%ARG%" == "sign" (
+@echo Signing package
+signtool verify /pa easyhg.msi
+)
+