Mercurial > hg > sonic-annotator
changeset 387:a2c5ca6b8785
More on zipping packages
author | Chris Cannam |
---|---|
date | Mon, 08 Jun 2020 16:14:52 +0100 |
parents | 3a4cb8f27c10 |
children | 0a45b9debc30 |
files | .hgignore deploy/clean-build-and-package.bat deploy/win/build-both.bat |
diffstat | 3 files changed, 13 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Mon Jun 08 14:47:59 2020 +0100 +++ b/.hgignore Mon Jun 08 16:14:52 2020 +0100 @@ -50,3 +50,9 @@ *.AppDir bundle bundle.zip +*.vcxproj +*.filters +*.zip +*.lib +*.pdb +*.sln
--- a/deploy/clean-build-and-package.bat Mon Jun 08 14:47:59 2020 +0100 +++ b/deploy/clean-build-and-package.bat Mon Jun 08 16:14:52 2020 +0100 @@ -26,7 +26,7 @@ signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 /a build_win64\release\*.exe build_win64\release\*.dll @echo Zipping up 32-bit package -set pkg=sonic-annotator-%VERSION%-win32 +set pkg=sonic-annotator-v%VERSION%-win32 set dir=%pkg%\%pkg% mkdir %pkg% mkdir %dir% @@ -41,10 +41,11 @@ copy build_win32\release\libstdc++-6.dll %dir%\ copy build_win32\release\libwinpthread-1.dll %dir%\ copy build_win32\release\sonic-annotator.exe %dir%\ -deploy\win\zip %pkg%.zip %pkg% +powershell -NoProfile -ExecutionPolicy Bypass -Command "& 'deploy\win\zip.ps1' %pkg%.zip %pkg%" +del /q /s %pkg% @echo Zipping up 64-bit package -set pkg=sonic-annotator-%VERSION%-win64 +set pkg=sonic-annotator-v%VERSION%-win64 set dir=%pkg%\%pkg% mkdir %pkg% mkdir %dir% @@ -57,6 +58,7 @@ copy build_win64\release\Qt5Xml.dll %dir%\ copy build_win64\release\libsndfile-1.dll %dir%\ copy build_win64\release\sonic-annotator.exe %dir%\ -deploy\win\zip %pkg%.zip %pkg% +powershell -NoProfile -ExecutionPolicy Bypass -Command "& 'deploy\win\zip.ps1' %pkg%.zip %pkg%" +del /q /s %pkg% @echo Done