Route vX.Y.Z-rc.N tags to the beta track, not stable
Some checks failed
dev release / build (push) Failing after 6m30s
beta release / build (push) Successful in 7m32s
release / build (push) Has been skipped
check / check (push) Successful in 14m27s

release.yml matches v*, which would have published an RC into the
stable bakery index and pointed latest at it. Skip any tag whose name
contains -rc there, and fire beta-release.yml on v*-rc.* instead.
This commit is contained in:
Breadway 2026-08-16 14:19:42 +08:00
parent 17abeed7ae
commit 99a04c800b
3 changed files with 21 additions and 16 deletions

View file

@ -6,6 +6,9 @@ on:
jobs:
build:
# RC tags are `v*` too (`v0.1.1-rc.1`) — those belong on the beta
# track, see beta-release.yml. A stable cut is a plain `vX.Y.Z`.
if: ${{ !contains(github.ref_name, '-rc') }}
runs-on: [self-hosted, hestia]
steps:
- name: checkout