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
This commit is contained in:
Vinícius Zavam 2022-03-02 13:12:17 +00:00
parent c6e0aafc1d
commit 544bdca878
No known key found for this signature in database
GPG Key ID: 415C653413B43475

View File

@ -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 ../..