Merge pull request #2440 from bitwarden/patch/update-hotfix-release-branch-name

Updating the hotfix release branch name to hotfix-rc

(cherry picked from commit f7782b6ed5)
This commit is contained in:
Joseph Flinn 2022-03-09 12:46:09 -08:00 committed by Joseph Flinn
parent 2094c85205
commit 6b5f40fa61
1 changed files with 2 additions and 2 deletions

View File

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