always merge tag based, not branch based, for releases

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-07-09 17:48:58 +02:00
parent bf9ad8b25c
commit a66bc8c343

View file

@ -187,10 +187,10 @@ $(GIT_TAG_FILE):
@printf "Enter tag description for $(CHANGELOG_VERSION)> "
@read tagmessage; git tag "$(CHANGELOG_VERSION)" -m "$$tagmessage"
git-branch-merge:
git-branch-merge: git-tag
current=$$(git rev-parse --abbrev-ref HEAD); \
git checkout "$(GIT_DST_BRANCH)" && \
git merge "$(GIT_SRC_BRANCH)" && \
git merge "$(CHANGELOG_VERSION)" && \
git checkout "$$current"