Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Compress bz2 doc tarballs with bzip2 instead of gzip

Fixes #99.
  • Loading branch information...
commit 5dbac70a670bff73195f5f0f1fefb7f695443095 1 parent 40c2e53
@akheron authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 release.sh
View
4 release.sh
@@ -61,7 +61,9 @@ mv doc/_build/html jansson-$v-doc
# Make and sign documentation tarballs
for s in gz bz2; do
- tar czf jansson-$v-doc.tar.$s jansson-$v-doc
+ [ $s = gz ] && compress=gzip
+ [ $s = bz2 ] && compress=bzip2
+ tar cf - jansson-$v-doc | $compress -9 -c > jansson-$v-doc.tar.$s
gpg --detach-sign --armor jansson-$v-doc.tar.$s
done
Please sign in to comment.
Something went wrong with that request. Please try again.