summaryrefslogtreecommitdiffstats
path: root/makerelease.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmakerelease.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/makerelease.sh b/makerelease.sh
new file mode 100755
index 0000000..3356d0b
--- /dev/null
+++ b/makerelease.sh
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+TAG=$1
+PREV_TAG=$2
+
+git checkout refs/tags/$TAG
+git log --pretty=fuller --date=short refs/tags/$PREV_TAG..HEAD > ChangeLog
+
+git submodule update --init
+
+autoreconf -i
+./configure --with-mruby && \
+ make dist-bzip2 && make dist-gzip && make dist-xz || echo "error"
+make distclean