aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinícius Zavam <egypcio@googlemail.com>2022-03-02 13:12:17 +0000
committerVinícius Zavam <egypcio@googlemail.com>2022-03-02 13:12:17 +0000
commit544bdca878bbe1fb366ecfb8e0e2717e92e004bb (patch)
tree3c0295f37f2dad9ce9c30b587648f3f4f555ad21
parentc6e0aafc1d35c545446742f01982a9579be7cfaa (diff)
downloadonionshare-544bdca878bbe1fb366ecfb8e0e2717e92e004bb.tar.gz
onionshare-544bdca878bbe1fb366ecfb8e0e2717e92e004bb.zip
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
-rwxr-xr-xbuild-source.sh2
1 files changed, 1 insertions, 1 deletions
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 ../..