mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-28 00:54:39 +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"
|
||||
|
||||
@@ -2,7 +2,7 @@ name: Zen Twilight Scheduled Releases
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- twilight
|
||||
- dev
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
4
.github/workflows/update-submodules.yml
vendored
4
.github/workflows/update-submodules.yml
vendored
@@ -4,10 +4,10 @@ name: Update Components Submodules
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- central
|
||||
- dev
|
||||
pull_request:
|
||||
branches:
|
||||
- central
|
||||
- dev
|
||||
workflow_dispatch:
|
||||
workflow_call: # This is a custom event that we will trigger manually
|
||||
|
||||
|
||||
Reference in New Issue
Block a user