summaryrefslogtreecommitdiffstats
path: root/makerelease.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:53:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:53:16 +0000
commitfef16cb88298ba07a9841a5a98e5afaa48bcb6d6 (patch)
tree4c895c4ad1fdad31773ded63e5a1effb74185315 /makerelease.sh
parentReleasing progress-linux version 1.60.0-1~progress7.99u1. (diff)
downloadnghttp2-fef16cb88298ba07a9841a5a98e5afaa48bcb6d6.tar.xz
nghttp2-fef16cb88298ba07a9841a5a98e5afaa48bcb6d6.zip
Merging upstream version 1.61.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'makerelease.sh')
-rwxr-xr-xmakerelease.sh15
1 files changed, 7 insertions, 8 deletions
diff --git a/makerelease.sh b/makerelease.sh
index 34963dc..9e84988 100755
--- a/makerelease.sh
+++ b/makerelease.sh
@@ -6,18 +6,17 @@ PREV_TAG=$2
git checkout refs/tags/$TAG
git log --pretty=fuller --date=short refs/tags/$PREV_TAG..HEAD > ChangeLog
-git submodule update --init --depth 1
-
autoreconf -i
-./configure --with-mruby && \
- make dist-bzip2 && make dist-gzip && make dist-xz || echo "error"
+./configure
+make dist-bzip2
+make dist-gzip
+make dist-xz
+make distclean
rm -f checksums.txt
-VERSION=`echo -n $TAG | sed -E 's|^v([0-9]+\.[0-9]+\.[0-9]+)(-DEV)?$|\1|'`
+VERSION=`echo -n $TAG | sed -E 's|^v([0-9]+\.[0-9]+\.[0-9]+(-[^.]+(\.[0-9]+)?)?)$|\1|'`
for f in nghttp2-$VERSION.tar.bz2 nghttp2-$VERSION.tar.gz nghttp2-$VERSION.tar.xz; do
sha256sum $f >> checksums.txt
- gpg --armor --detach-sign $f
+ echo -n "$GPG_PASSPHRASE" | gpg --batch --passphrase-fd 0 --pinentry-mode loopback --armor --detach-sign $f
done
-
-make distclean