Skip to content

Commit 132a24a

Browse files
abueideclaude
andcommitted
refactor: rename workflow input from 'beta' to 'prerelease'
Changed the workflow input from 'beta' to 'prerelease' to avoid confusion. The input triggers prerelease publishing for any prerelease channel (fix, feat, or beta), not just the beta channel. Now you select: - dry-run → test without publishing - prerelease → publish fix/feat/beta channels - production → production release from main Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 033a938 commit 132a24a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
type: choice
1010
options:
1111
- dry-run
12-
- beta
12+
- prerelease
1313
- production
1414

1515
concurrency:
@@ -63,7 +63,7 @@ jobs:
6363

6464
release-beta:
6565
name: Release (prerelease)
66-
if: inputs.type == 'beta'
66+
if: inputs.type == 'prerelease'
6767
needs: [ci]
6868
runs-on: ubuntu-latest
6969
environment: Publish-Prerelease

PRERELEASE_SETUP.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ To verify OIDC is configured:
9494

9595
```bash
9696
# From your feature branch
97-
gh workflow run release.yml -f type=dry-run
97+
gh workflow run release.yml -f type=dry-run --ref fix/your-branch
9898
```
9999

100100
This will:
@@ -105,8 +105,8 @@ This will:
105105
### 2. Publish a Prerelease
106106

107107
```bash
108-
# From a fix/feat/chore branch
109-
gh workflow run release.yml -f type=beta
108+
# From a fix/feat branch
109+
gh workflow run release.yml -f type=prerelease --ref fix/your-branch
110110
```
111111

112112
This will:

0 commit comments

Comments
 (0)