From 544bdca878bbe1fb366ecfb8e0e2717e92e004bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Zavam?= Date: Wed, 2 Mar 2022 13:12:17 +0000 Subject: [PATCH] Actually compress the tarball, using tar with -z From tar's manpage we have: -z, -j, -J, --lzma Compress archive with gzip/bzip2/xz/lzma By doing that we shrink the size of OnionShare's tarball from its 12M to around 6.3M --- build-source.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-source.sh b/build-source.sh index 0946683d..4d6777e8 100755 --- a/build-source.sh +++ b/build-source.sh @@ -65,7 +65,7 @@ git checkout $TAG # Delete .git, compress, and PGP sign cd .. rm -rf onionshare/.git -tar -cf onionshare-$VERSION.tar.gz onionshare/ +tar -czf onionshare-$VERSION.tar.gz onionshare/ # Move source package to dist cd ../..