Skip to content

Commit 8ab05a8

Browse files
authored
Add beta branch support for releases (#282)
Updated release workflow and semantic-release config to include the beta branch and pattern-matched branches for release automation. The beta branch is now marked as a prerelease.
1 parent d00315e commit 8ab05a8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: release
33
on:
44
push:
55
branches:
6+
- "*.x"
67
- main
8+
- beta
79

810
permissions:
911
contents: write

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@
3232
"release": {
3333
"branches": [
3434
"+([0-9]).x",
35-
"main"
35+
"main",
36+
{
37+
"name": "beta",
38+
"prerelease": true
39+
}
3640
],
3741
"plugins": [
3842
"@semantic-release/commit-analyzer",

0 commit comments

Comments
 (0)