comparison deploy/win64/build-and-package.bat @ 2114:3fc52a2fadce sv_v3.2pre1

This seems to be necessary in order to bail out properly
author Chris Cannam
date Fri, 16 Nov 2018 09:52:37 +0000
parents a594146c1ed8
children 3158bb4e2ce9
comparison
equal deleted inserted replaced
2113:f1dfbf5d59d4 2114:3fc52a2fadce
22 @ echo NOTE: sign option specified, will attempt to codesign exe and msi 22 @ echo NOTE: sign option specified, will attempt to codesign exe and msi
23 @ echo NOTE: starting by codesigning an unrelated executable, so we know 23 @ echo NOTE: starting by codesigning an unrelated executable, so we know
24 @ echo NOTE: whether it'll work before doing the entire build 24 @ echo NOTE: whether it'll work before doing the entire build
25 copy sv-dependency-builds\win64-msvc\bin\capnp.exe signtest.exe 25 copy sv-dependency-builds\win64-msvc\bin\capnp.exe signtest.exe
26 signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 signtest.exe 26 signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 signtest.exe
27 if %errorlevel% neq 0 exit /b %errorlevel% 27 if errorlevel 1 exit /b %errorlevel%
28 signtool verify /pa signtest.exe 28 signtool verify /pa signtest.exe
29 if %errorlevel% neq 0 exit /b %errorlevel% 29 if errorlevel 1 exit /b %errorlevel%
30 del signtest.exe 30 del signtest.exe
31 @ echo NOTE: success 31 @ echo NOTE: success
32 ) else ( 32 ) else (
33 @ echo NOTE: sign option not specified, will not codesign anything 33 @ echo NOTE: sign option not specified, will not codesign anything
34 ) 34 )