Files
desktop/scripts/merge-to-branch.sh

16 lines
271 B
Bash

set -ex
actual_default_branch="central"
branch=zen-"$1"
default_branch="central"
if [ $branch = "zen-stable" ]; then
default_branch="zen-twilight"
fi
git checkout "$branch"
git merge "$default_branch"
git push origin "$branch"
git checkout "$actual_default_branch"