Use a better compression algorithm.

This commit is contained in:
Roman Telezhynskyi 2021-05-03 16:43:50 +03:00
parent aa6e4f0bf3
commit 2bbaabf6ce

View File

@ -3,7 +3,7 @@ $env:BUILD_FOLDER = "C:\projects\valentina\build";
if($env:DEPLOY -eq "true") { if($env:DEPLOY -eq "true") {
Write-Host "[CI] Starting packing." -ForegroundColor Green; Write-Host "[CI] Starting packing." -ForegroundColor Green;
& $env:PYTHON\python.exe $env:ROOT_FOLDER\scripts\deploy.py pack .\package\valentina\ "$env:BUILD_FOLDER\package\valentina-win-$env:PLATFORM-$env:QT_VERSION-$env:APPVEYOR_REPO_BRANCH-$env:APPVEYOR_REPO_COMMIT.zip"; & $env:PYTHON\python.exe $env:ROOT_FOLDER\scripts\deploy.py pack .\package\valentina\ "$env:BUILD_FOLDER\package\valentina-win-$env:PLATFORM-$env:QT_VERSION-$env:APPVEYOR_REPO_BRANCH-$env:APPVEYOR_REPO_COMMIT.tar.xz";
if ($LastExitCode -ne 0) { if ($LastExitCode -ne 0) {
Write-Error -Message "[CI] Error creating an archive." -Category InvalidResult; Write-Error -Message "[CI] Error creating an archive." -Category InvalidResult;
exit 1; exit 1;