1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 07:10:01 +02:00
zen-desktop/scripts/merge-to-branch.sh

16 lines
No EOL
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"