archive.sh also creates a highly compressed .xz archive

This commit is contained in:
Sebastian Messmer 2017-04-06 00:14:14 +01:00
parent 5be99e2ef2
commit 5ea46bda65
1 changed files with 3 additions and 0 deletions

View File

@ -5,3 +5,6 @@ GPGHOMEDIR=$2
git archive --format=tgz "$1" > cryfs-$1.tar.gz
gpg --homedir "$GPGHOMEDIR" --armor --detach-sign cryfs-$1.tar.gz
git archive --format=tar "$1" | xz -9 > cryfs-$1.tar.xz
gpg --homedir "$GPGHOMEDIR" --armor --detach-sign cryfs-$1.tar.xz