mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Refactor merge-to-branch script to handle default branch name and merge to specified branch
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
set -ex
|
||||
|
||||
actual_default_branch="central"
|
||||
|
||||
branch=zen-"$1"
|
||||
default_branch="central"
|
||||
|
||||
@@ -11,4 +13,4 @@ git checkout "$branch"
|
||||
git merge "$default_branch"
|
||||
git push origin "$branch"
|
||||
|
||||
git checkout "$default_branch"
|
||||
git checkout "$actual_default_branch"
|
Reference in New Issue
Block a user