mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
constraining the releases to the rc branch (#318)
This commit is contained in:
parent
c42650f16b
commit
75236daeb8
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -16,6 +16,15 @@ jobs:
|
||||
package_version: ${{ steps.create_tags.outputs.package_version }}
|
||||
tag_version: ${{ steps.create_tags.outputs.tag_version }}
|
||||
steps:
|
||||
- name: Branch check
|
||||
run: |
|
||||
if [[ "$GITHUB_REF" != "refs/heads/rc" ]]; then
|
||||
echo "==================================="
|
||||
echo "[!] Can only release from rc branch"
|
||||
echo "==================================="
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user