1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-19 11:15:21 +01:00

Merge pull request #2137 from bitwarden/feature/change-release-branch-constraint

Update the release branch constraint
This commit is contained in:
Joseph Flinn 2021-10-22 08:41:29 -07:00 committed by GitHub
commit b3b988a8af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,9 +15,9 @@ jobs:
steps:
- name: Branch check
run: |
if [[ "$GITHUB_REF" != "refs/heads/rc" ]]; then
if [[ "$GITHUB_REF" != "refs/heads/release" ]]; then
echo "==================================="
echo "[!] Can only release from rc branch"
echo "[!] Can only release from the 'release' branch"
echo "==================================="
exit 1
fi
@ -25,7 +25,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
ref: rc
ref: release
- name: Check Release Version
id: version
@ -88,7 +88,7 @@ jobs:
with:
workflow: build.yml
workflow_conclusion: success
branch: rc
branch: release
artifacts: 'browser-source-*.zip,
dist-chrome-*.zip,
dist-opera-*.zip,