Refactor merge-to-branch script to handle "zen-stable" branch and merge to "zen-twilight" branch if specified

This commit is contained in:
mr. M
2024-10-11 19:16:19 +02:00
parent 6d9e54043c
commit 45e751a8be
2 changed files with 15 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ branch=zen-"$1"
default_branch="central"
if [ $branch = "zen-stable" ]; then
$(dirname $0)/merge-to-branch.sh twilight
default_branch="zen-twilight"
fi
git checkout "$branch"