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:
Michał Chęciński
2022-10-21 16:08:51 +02:00
committed by GitHub
parent 9b4b62bb5c
commit 59e93286bb
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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 }}