mirror of
https://github.com/bitwarden/self-host.git
synced 2026-06-30 07:15:45 +00:00
Deprecate the rc branching pattern (#63)
* Remove rc and hotfix-rc branch constraints in release workflow * Remove rc branch check from update-versions workflow
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -17,9 +17,9 @@ jobs:
|
||||
steps:
|
||||
- name: Branch check
|
||||
run: |
|
||||
if [[ "$GITHUB_REF" != "refs/heads/rc" ]] && [[ "$GITHUB_REF" != "refs/heads/hotfix" ]]; then
|
||||
if [[ "$GITHUB_REF" != "refs/heads/master" ]]; then
|
||||
echo "==================================="
|
||||
echo "[!] Can only release from the 'rc' or 'hotfix' branches"
|
||||
echo "[!] Can only release from the 'master' branch"
|
||||
echo "==================================="
|
||||
exit 1
|
||||
fi
|
||||
|
||||
2
.github/workflows/update-versions.yml
vendored
2
.github/workflows/update-versions.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
setup:
|
||||
name: Setup
|
||||
if: github.ref_name == 'master' || github.ref_name == 'rc' || github.ref_name == 'hotfix'
|
||||
if: github.ref_name == 'master'
|
||||
runs-on: ubuntu-20.04
|
||||
outputs:
|
||||
core_version: ${{ steps.get-core.outputs.version }}
|
||||
|
||||
Reference in New Issue
Block a user