fdaa9270a0
* 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
11 lines
288 B
Bash
Executable File
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"
|