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"
14make distclean
15