Update release script

This commit is contained in:
Tatsuhiro Tsujikawa 2014-02-05 23:12:53 +09:00
parent 81a2359012
commit 474b7fd4be
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
#!/bin/sh -e #!/bin/sh -e
VERSION=$1 TAG=$1
PREV_VERSION=$2 PREV_TAG=$2
git checkout refs/tags/release-$VERSION git checkout refs/tags/$TAG
git log --pretty=fuller --date=short refs/tags/release-$PREV_VERSION..HEAD > ChangeLog git log --pretty=fuller --date=short refs/tags/$PREV_TAG..HEAD > ChangeLog
./configure && \ ./configure && \
make dist-bzip2 && make dist-gzip && make dist-xz || echo "error" make dist-bzip2 && make dist-gzip && make dist-xz || echo "error"