forked from ungleich-public/cdist
always merge tag based, not branch based, for releases
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
bf9ad8b25c
commit
a66bc8c343
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -187,10 +187,10 @@ $(GIT_TAG_FILE):
|
||||||
@printf "Enter tag description for $(CHANGELOG_VERSION)> "
|
@printf "Enter tag description for $(CHANGELOG_VERSION)> "
|
||||||
@read tagmessage; git tag "$(CHANGELOG_VERSION)" -m "$$tagmessage"
|
@read tagmessage; git tag "$(CHANGELOG_VERSION)" -m "$$tagmessage"
|
||||||
|
|
||||||
git-branch-merge:
|
git-branch-merge: git-tag
|
||||||
current=$$(git rev-parse --abbrev-ref HEAD); \
|
current=$$(git rev-parse --abbrev-ref HEAD); \
|
||||||
git checkout "$(GIT_DST_BRANCH)" && \
|
git checkout "$(GIT_DST_BRANCH)" && \
|
||||||
git merge "$(GIT_SRC_BRANCH)" && \
|
git merge "$(CHANGELOG_VERSION)" && \
|
||||||
git checkout "$$current"
|
git checkout "$$current"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue