Skip to content

Commit 5dbac70

Browse files
committed
Compress bz2 doc tarballs with bzip2 instead of gzip
Fixes akheron#99.
1 parent 40c2e53 commit 5dbac70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

release.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ mv doc/_build/html jansson-$v-doc
6161

6262
# Make and sign documentation tarballs
6363
for s in gz bz2; do
64-
tar czf jansson-$v-doc.tar.$s jansson-$v-doc
64+
[ $s = gz ] && compress=gzip
65+
[ $s = bz2 ] && compress=bzip2
66+
tar cf - jansson-$v-doc | $compress -9 -c > jansson-$v-doc.tar.$s
6567
gpg --detach-sign --armor jansson-$v-doc.tar.$s
6668
done
6769

0 commit comments

Comments
 (0)