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 "zen-stable" branch and merge to "twilight" branch if specified
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -74,7 +74,11 @@ jobs:
|
||||
git branch
|
||||
git status
|
||||
git branch --show-current
|
||||
if [[ $(git branch --show-current) != "zen-${{ inputs.update_branch }}" ]]; then
|
||||
branch="zen-${{ inputs.update_branch }}"
|
||||
if [[ $branch == "zen-alpha" ]]; then
|
||||
branch="zen-stable"
|
||||
fi
|
||||
if [[ $(git branch --show-current) != $branch ]]; then
|
||||
echo ">>> Branch mismatch"
|
||||
exit 1
|
||||
else
|
||||
|
Reference in New Issue
Block a user