From 3dc5a86a0d71a7e79a38755b979fcc6adf3c5cab Mon Sep 17 00:00:00 2001 From: fkobi Date: Mon, 10 Mar 2025 20:26:37 +0000 Subject: [PATCH] build_dist.sh: use git's options for gzip tarball see `BACKEND EXTRA OPTIONS` of `man git-archive` for more details. Tested with git 2.48.1. Seems to be a bit faster. --- build_dist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_dist.sh b/build_dist.sh index aa00205d7..daee09bc6 100755 --- a/build_dist.sh +++ b/build_dist.sh @@ -15,5 +15,5 @@ else fi # pack archives -git archive --format=tar --prefix="qbittorrent-$projectVersion/" HEAD | gzip -9 > "qbittorrent-$projectVersion.tar.gz" +git archive --prefix="qbittorrent-$projectVersion/" HEAD --output="qbittorrent-$projectVersion.tar.gz" -9 git archive --format=tar --prefix="qbittorrent-$projectVersion/" HEAD | xz -9 > "qbittorrent-$projectVersion.tar.xz"