Update bump.sh for seperate release branches

This commit is contained in:
Daniel Gröber 2016-01-04 20:36:19 +01:00
parent 1c13cb3d3c
commit 0e63e8d326

View File

@ -16,6 +16,8 @@ fi
cd $(dirname $0)/..
git checkout release-$VERSION
sed -i 's/(defconst ghc-version ".*")/(defconst ghc-version "'"$VERSION"'")/' \
elisp/ghc.el
@ -26,7 +28,7 @@ git commit -m "Bump version to $VERSION"
git checkout release
#git merge master
git merge -s recursive -X theirs master
git merge -s recursive -X theirs release-$VERSION
( tac ChangeLog; echo "\n$(date '+%Y-%m-%d') v$VERSION" ) | tac \
> ChangeLog.tmp
@ -38,5 +40,4 @@ emacs -q -nw ChangeLog
git add ChangeLog
git commit -m "ChangeLog"
git tag "v$VERSION"