diff options
author | VinÃcius Zavam <egypcio@googlemail.com> | 2022-03-02 13:12:17 +0000 |
---|---|---|
committer | VinÃcius Zavam <egypcio@googlemail.com> | 2022-03-02 13:12:17 +0000 |
commit | 544bdca878bbe1fb366ecfb8e0e2717e92e004bb (patch) | |
tree | 3c0295f37f2dad9ce9c30b587648f3f4f555ad21 /build-source.sh | |
parent | c6e0aafc1d35c545446742f01982a9579be7cfaa (diff) | |
download | onionshare-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
Diffstat (limited to 'build-source.sh')
-rwxr-xr-x | build-source.sh | 2 |
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 ../.. |