Skip to content

Commit 453afc8

Browse files
abueideclaude
andcommitted
feat: use branch-specific prerelease channels instead of beta
Changed from a single "beta" prerelease channel to branch-specific channels: - fix/* → x.x.x-fix.N - feat/* → x.x.x-feat.N - chore/* → x.x.x-chore.N - beta → x.x.x-beta.N (explicit) This provides better semantic meaning for prerelease versions. Instead of all non-master branches being "beta", each category gets its own channel. Examples: - fix/ios-zero-second-sessions → 2.22.1-fix.1 - feat/new-feature → 2.22.1-feat.1 - beta → 2.22.1-beta.1 Updated workflow to use new "Publish-Prerelease" environment instead of "Publish-Beta" to reflect the broader scope. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 8d6874c commit 453afc8

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
GH_TOKEN: ${{ github.token }}
6363

6464
release-beta:
65-
name: Release (beta)
65+
name: Release (prerelease)
6666
if: inputs.type == 'beta'
6767
needs: [ci]
6868
runs-on: ubuntu-latest
69-
environment: Publish-Beta
69+
environment: Publish-Prerelease
7070
permissions:
7171
contents: write
7272
issues: write
@@ -81,7 +81,7 @@ jobs:
8181
- name: Install devbox
8282
uses: jetify-com/devbox-install-action@v0.14.0
8383

84-
- name: Release (beta)
84+
- name: Release (prerelease)
8585
run: |
8686
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
8787
devbox run -e GITHUB_REF=refs/heads/$BRANCH_NAME release

release.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ module.exports = {
22
branches: [
33
'master',
44
{ name: '+([0-9])?(.{+([0-9]),x}).x', prerelease: true }, // support branches (e.g., 1.x, 1.2.x)
5-
{ name: '*', prerelease: 'beta' }, // any other branch = beta prerelease (fixes SemVer compliance)
5+
{ name: 'beta', prerelease: 'beta' }, // explicit beta channel
6+
{ name: 'fix/*', prerelease: 'fix' }, // fix branches → x.x.x-fix.N
7+
{ name: 'feat/*', prerelease: 'feat' }, // feature branches → x.x.x-feat.N
8+
{ name: 'chore/*', prerelease: 'chore' }, // chore branches → x.x.x-chore.N
69
],
710
tagFormat: '${name}-v${version}',
811
plugins: [

0 commit comments

Comments
 (0)