Update bump.sh for seperate release branches
This commit is contained in:
parent
1c13cb3d3c
commit
0e63e8d326
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user