1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-05 10:03:21 +00:00

Update hotfix release branch name to hotfix-rc (#1396)

This commit is contained in:
Joseph Flinn
2022-03-09 12:46:13 -08:00
committed by GitHub
parent b134eba27b
commit f845bcf6c1
2 changed files with 6 additions and 6 deletions

View File

@@ -57,8 +57,8 @@ jobs:
run: |
SAFARI_REF=master
if [[ "$GITHUB_REF" == "refs/heads/hotfix" ]]; then
SAFARI_REF=hotfix
if [[ "$GITHUB_REF" == "refs/heads/hotfix-rc" ]]; then
SAFARI_REF=hotfix-rc
elif [[ "$GITHUB_REF" == "refs/heads/rc" ]]; then
SAFARI_REF=rc
fi
@@ -75,7 +75,7 @@ jobs:
echo "::set-output name=rc_branch_exists::0"
fi
if [[ $(git ls-remote --heads origin hotfix) ]]; then
if [[ $(git ls-remote --heads origin hotfix-rc) ]]; then
echo "::set-output name=hotfix_branch_exists::1"
else
echo "::set-output name=hotfix_branch_exists::0"
@@ -877,7 +877,7 @@ jobs:
&& needs.setup.outputs.rc_branch_exists == 0
&& needs.setup.outputs.hotfix_branch_exists == 0)
|| (github.ref == 'refs/heads/rc' && needs.setup.outputs.hotfix_branch_exists == 0)
|| github.ref == 'refs/heads/hotfix'
|| github.ref == 'refs/heads/hotfix-rc'
run: npm run upload:mas