Generate PGP signatures for release tar balls

This commit is contained in:
Tatsuhiro Tsujikawa 2023-05-11 17:03:06 +09:00
parent 1a57bf110d
commit 03496a8a0b

View File

@ -12,9 +12,12 @@ autoreconf -i
./configure --with-mruby && \
make dist-bzip2 && make dist-gzip && make dist-xz || echo "error"
rm -f checksums.txt
VERSION=`echo -n $TAG | sed -E 's|^v([0-9]+\.[0-9]+\.[0-9]+)(-DEV)?$|\1|'`
for f in nghttp2-$VERSION.tar.bz2 nghttp2-$VERSION.tar.gz nghttp2-$VERSION.tar.xz; do
sha256sum $f > $f.asc
sha256sum $f >> checksums.txt
gpg --armor --detach-sign $f
done
make distclean