1
0
mirror of https://github.com/bitwarden/desktop synced 2026-01-08 11:33:13 +00:00

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

(cherry picked from commit f845bcf6c1)
This commit is contained in:
Joseph Flinn
2022-03-09 12:46:13 -08:00
committed by Joseph Flinn
parent b134eba27b
commit 21f96af441
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