mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00
Optimize pre-built artifact size: Set compression level for zip
to 9 (max) (#596)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
ec026c1711
commit
75d2fc4d42
1 changed files with 1 additions and 1 deletions
2
.github/scripts/pack-release-archives.sh
vendored
2
.github/scripts/pack-release-archives.sh
vendored
|
@ -8,7 +8,7 @@ for o in outputs/*; do
|
|||
|
||||
target=$(basename "$o" | cut -d. -f1)
|
||||
if grep -qE '(apple|windows)' <<< "$target"; then
|
||||
zip "../cargo-binstall-${target}.zip" *
|
||||
zip -9 "../cargo-binstall-${target}.zip" *
|
||||
else
|
||||
tar cv * | gzip -9 > "../cargo-binstall-${target}.tgz"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue