1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-09 03:53:53 +00:00

Add branch check for Staged Rollout Desktop workflow (#4062)

This commit is contained in:
Vince Grassia
2022-11-16 10:48:49 -05:00
committed by GitHub
parent 0ddbafd116
commit fa110a21d0
6 changed files with 22 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ jobs:
- name: Branch check
if: ${{ github.event.inputs.release_type != 'Dry Run' }}
run: |
if [[ "$GITHUB_REF" != "refs/heads/rc" ]] && [[ $GITHUB_REF != "refs/heads/hotfix-rc-web" ]]; then
if [[ "$GITHUB_REF" != "refs/heads/rc" ]] && [[ "$GITHUB_REF" != "refs/heads/hotfix-rc-web" ]]; then
echo "==================================="
echo "[!] Can only release from the 'rc' or 'hotfix-rc-web' branches"
echo "==================================="