2021-09-02 03:44:21 +02:00
|
|
|
#!/usr/bin/env bash
|
2016-10-13 20:00:59 +02:00
|
|
|
|
|
|
|
TAG=$1
|
|
|
|
GPGHOMEDIR=$2
|
|
|
|
|
2021-09-02 03:44:21 +02:00
|
|
|
git archive --format=tgz "$1" > "cryfs-$1.tar.gz"
|
|
|
|
gpg --homedir "$GPGHOMEDIR" --armor --detach-sign "cryfs-$1.tar.gz"
|
2017-04-06 01:14:14 +02:00
|
|
|
|
2021-09-02 03:44:21 +02:00
|
|
|
git archive --format=tar "$1" | xz -9 > "cryfs-$1.tar.xz"
|
|
|
|
gpg --homedir "$GPGHOMEDIR" --armor --detach-sign "cryfs-$1.tar.xz"
|