mkp224o/contrib/release-scripts/sign.sh
2022-05-30 20:34:31 +00:00

19 lines
311 B
Bash
Executable File

#!/bin/sh
if [ x"$1" = x ]
then
echo "Usage: $0 key-id" >&2
exit 1
fi
D=$(realpath "$0")
D=$(dirname "$D")
cd "$D"
cd out
gpg --detach-sign -u "$1" mkp224o-*-src.tar.gz
gpg --detach-sign -u "$1" mkp224o-*-src.tar.zst
gpg --detach-sign -u "$1" mkp224o-*-w32.zip
gpg --detach-sign -u "$1" mkp224o-*-w64.zip