mkp224o/contrib/release-scripts/sign.sh

21 lines
326 B
Bash
Raw Permalink Normal View History

2022-05-30 20:34:31 +00:00
#!/bin/sh
if [ x"$1" = x ]
then
echo "Usage: $0 key-id" >&2
exit 1
fi
D=$(realpath "$0")
D=$(dirname "$D")
cd "$D"
2024-01-22 05:08:12 +00:00
export TZ=UTC
2022-05-30 20:34:31 +00:00
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