mirror of
https://github.com/bitwarden/browser
synced 2025-01-15 11:58:21 +01:00
Updating the release branch constraint and the CI pipeline code constraint
This commit is contained in:
parent
6a02487778
commit
9635b1acb7
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -15,9 +15,9 @@ jobs:
|
||||
steps:
|
||||
- name: Branch check
|
||||
run: |
|
||||
if [[ "$GITHUB_REF" != "refs/heads/rc" ]]; then
|
||||
if [[ "$GITHUB_REF" != "refs/heads/release" ]] || [[ "$GITHUB_REF" != "refs/heads/master" ]]; then
|
||||
echo "==================================="
|
||||
echo "[!] Can only release from rc branch"
|
||||
echo "[!] Can only release from the 'release' or 'master' branches"
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user