tweak release script, add signing one

This commit is contained in:
cathugger
2022-05-30 20:34:31 +00:00
parent 7f714ee4f7
commit 4e98a931f4
2 changed files with 24 additions and 6 deletions

18
contrib/release-scripts/sign.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/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