Mercurial > hg > easyhg
comparison deploy/win32/build-and-package.bat @ 698:52b8a499f379
Further packaging/signing fixes
author | Chris Cannam |
---|---|
date | Mon, 10 Dec 2018 17:52:27 +0000 |
parents | 11e9454800cc |
children | dfabf544f682 |
comparison
equal
deleted
inserted
replaced
697:11e9454800cc | 698:52b8a499f379 |
---|---|
40 ) else ( | 40 ) else ( |
41 @ echo NOTE: sign option not specified, will not codesign anything | 41 @ echo NOTE: sign option not specified, will not codesign anything |
42 ) | 42 ) |
43 | 43 |
44 cd %STARTPWD% | 44 cd %STARTPWD% |
45 rem del /q /s build_win32 | 45 del /q /s build_win32 |
46 call .\deploy\win32\build.bat | 46 call .\deploy\win32\build.bat |
47 if %errorlevel% neq 0 exit /b %errorlevel% | 47 if %errorlevel% neq 0 exit /b %errorlevel% |
48 | 48 |
49 if not exist mercurial-4.8.0-x86.msi ( | 49 if not exist mercurial-4.8.0-x86.msi ( |
50 C:\ProgramData\chocolatey\bin\wget https://bitbucket.org/tortoisehg/files/downloads/mercurial-4.8.0-x86.msi | 50 C:\ProgramData\chocolatey\bin\wget https://bitbucket.org/tortoisehg/files/downloads/mercurial-4.8.0-x86.msi |
102 | 102 |
103 copy "%PYCRYPTODIR%\__init__.py" Crypto\ | 103 copy "%PYCRYPTODIR%\__init__.py" Crypto\ |
104 | 104 |
105 if "%ARG%" == "sign" ( | 105 if "%ARG%" == "sign" ( |
106 @echo Signing components | 106 @echo Signing components |
107 signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 *.dll *.exe *\*.pyd *\*\*.pyd | 107 signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 *.dll *.exe Crypto\Cipher\*.pyd PyQt5\*.pyd lib\*.pyd |
108 ) | 108 ) |
109 | 109 |
110 set PATH=%PATH%;"C:\Program Files (x86)\WiX Toolset v3.11\bin" | 110 set PATH=%PATH%;"C:\Program Files (x86)\WiX Toolset v3.11\bin" |
111 | 111 |
112 del easyhg.msi | 112 del easyhg.msi |
114 light -b . -ext WixUIExtension -ext WixUtilExtension -v easyhg.wixobj | 114 light -b . -ext WixUIExtension -ext WixUtilExtension -v easyhg.wixobj |
115 if %errorlevel% neq 0 exit /b %errorlevel% | 115 if %errorlevel% neq 0 exit /b %errorlevel% |
116 | 116 |
117 if "%ARG%" == "sign" ( | 117 if "%ARG%" == "sign" ( |
118 @echo Signing package | 118 @echo Signing package |
119 signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 easyhg.msi | |
119 signtool verify /pa easyhg.msi | 120 signtool verify /pa easyhg.msi |
120 ) | 121 ) |
121 | 122 |