Browse Source

Deprecate the rc branching pattern (#63)

* Remove rc and hotfix-rc branch constraints in release workflow

* Remove rc branch check from update-versions workflow
pull/66/head
Michał Chęciński 3 years ago committed by GitHub
parent
commit
59e93286bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/release.yml
  2. 2
      .github/workflows/update-versions.yml

4
.github/workflows/release.yml

@ -17,9 +17,9 @@ jobs: @@ -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

@ -8,7 +8,7 @@ on: @@ -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 }}

Loading…
Cancel
Save