Skip to content

Commit 721293a

Browse files
author
Timo Bechtel
committed
ci: update ci conf to reflect branch renaming
1 parent 41d6473 commit 721293a

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
release:

.releaserc.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
2-
"plugins": [
3-
"@semantic-release/commit-analyzer",
4-
"@semantic-release/release-notes-generator",
5-
"@semantic-release/changelog",
6-
"@semantic-release/npm",
7-
"@semantic-release/git",
8-
"@semantic-release/github"
9-
]
2+
"branches": [
3+
"+([0-9])?(.{+([0-9]),x}).x",
4+
"main",
5+
"next",
6+
"next-major",
7+
{ "name": "beta", "prerelease": true },
8+
{ "name": "alpha", "prerelease": true }
9+
],
10+
"plugins": [
11+
"@semantic-release/commit-analyzer",
12+
"@semantic-release/release-notes-generator",
13+
"@semantic-release/changelog",
14+
"@semantic-release/npm",
15+
"@semantic-release/git",
16+
"@semantic-release/github"
17+
]
1018
}

0 commit comments

Comments
 (0)