mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-27 08:51:32 +00:00
Refactor branch names in build and release workflows
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -74,9 +74,11 @@ jobs:
|
||||
git branch
|
||||
git status
|
||||
git branch --show-current
|
||||
branch="zen-${{ inputs.update_branch }}"
|
||||
if [[ $branch == "zen-alpha" ]]; then
|
||||
branch="zen-stable"
|
||||
branch="${{ inputs.update_branch }}"
|
||||
if [[ $branch == "alpha" ]]; then
|
||||
branch="stable"
|
||||
elif [[ $branch == "twilight" ]]; then
|
||||
branch="dev"
|
||||
fi
|
||||
if [[ $(git branch --show-current) != $branch ]]; then
|
||||
echo ">>> Branch mismatch"
|
||||
|
||||
Reference in New Issue
Block a user