From 6f65e342da4e2c1cfbcf8f6a694894c6cd96bc97 Mon Sep 17 00:00:00 2001 From: coloursofnoise Date: Wed, 10 Nov 2021 12:34:14 -0800 Subject: [PATCH] Set compression level for artifacts --- azure-pipelines-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines-release.yml b/azure-pipelines-release.yml index b9328d56c..0db923862 100644 --- a/azure-pipelines-release.yml +++ b/azure-pipelines-release.yml @@ -28,10 +28,10 @@ steps: declare -i BUILD_NUMBER=$(Build.BuildId)+$(Build.BuildIdOffset) echo "##vso[task.setvariable variable=build_number]$BUILD_NUMBER" - zip -r $(Build.ArtifactStagingDirectory)/main.zip $(Build.ArtifactStagingDirectory)/main/ - zip -r $(Build.ArtifactStagingDirectory)/olympus-meta.zip $(Build.ArtifactStagingDirectory)/olympus-meta/ - zip -r $(Build.ArtifactStagingDirectory)/olympus-build.zip $(Build.ArtifactStagingDirectory)/olympus-build/ - zip -r $(Build.ArtifactStagingDirectory)/lib-stripped.zip $(Build.ArtifactStagingDirectory)/lib-stripped/ + zip -9r $(Build.ArtifactStagingDirectory)/main.zip $(Build.ArtifactStagingDirectory)/main/ + zip -9r $(Build.ArtifactStagingDirectory)/olympus-meta.zip $(Build.ArtifactStagingDirectory)/olympus-meta/ + zip -9r $(Build.ArtifactStagingDirectory)/olympus-build.zip $(Build.ArtifactStagingDirectory)/olympus-build/ + zip -9r $(Build.ArtifactStagingDirectory)/lib-stripped.zip $(Build.ArtifactStagingDirectory)/lib-stripped/ # Create GitHub release for new stable versions. - task: GitHubRelease@1