Make git-finish work with release branches too by having it merge any non-feature branch into master
This commit is contained in:
parent
7bdd6b5659
commit
c9d9e8e4b3
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ merge-into() {
|
||||||
git merge --no-ff $branch --message "Merge $kind '$name'$pullreq into $1" || exit $?
|
git merge --no-ff $branch --message "Merge $kind '$name'$pullreq into $1" || exit $?
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ $kind = hotfix ]] && merge-into master
|
[[ $kind = feature ]] || merge-into master
|
||||||
merge-into develop
|
merge-into develop
|
||||||
|
|
||||||
echo "Merge successful, deleting $branch..." >&2
|
echo "Merge successful, deleting $branch..." >&2
|
||||||
|
|
Loading…
Reference in a new issue