• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh -e
2
3TAG=$1
4PREV_TAG=$2
5
6git checkout refs/tags/$TAG
7git log --pretty=fuller --date=short refs/tags/$PREV_TAG..HEAD > ChangeLog
8
9git submodule update --init
10
11autoreconf -i
12./configure --with-mruby && \
13    make dist-bzip2 && make dist-gzip && make dist-xz || echo "error"
14
15rm -f checksums.txt
16
17VERSION=`echo -n $TAG | sed -E 's|^v([0-9]+\.[0-9]+\.[0-9]+)(-DEV)?$|\1|'`
18for f in nghttp2-$VERSION.tar.bz2 nghttp2-$VERSION.tar.gz nghttp2-$VERSION.tar.xz; do
19    sha256sum $f >> checksums.txt
20    gpg --armor --detach-sign $f
21done
22
23make distclean
24