libcryfs/archive.sh
a1346054 fdaa9270a0
Tiny cleanup (#397)
* use license file from gnu.org

They changed http link to https.

File downloaded from:
https://www.gnu.org/licenses/lgpl-3.0.txt

* invoke bash using /usr/bin/env

* fix shellcheck warnings

* fix spelling

* trim excess whitespace
2021-09-01 18:44:21 -07:00

11 lines
288 B
Bash
Executable File

#!/usr/bin/env bash
TAG=$1
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"