Skip to content

Commit 2923e4e

Browse files
committed
chore: add semantic release configuration
1 parent 7d001ac commit 2923e4e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

release.config.mjs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* @type {import('semantic-release').GlobalConfig}
3+
*/
4+
export default {
5+
branches: [ '+([0-9])?(.{+([0-9]),x}).x',
6+
'main',
7+
{ name: "next", channel: "next", prerelease: "dev"},
8+
],
9+
tagFormat: "${version}",
10+
plugins: [
11+
"@semantic-release/github",
12+
[ "@semantic-release/commit-analyzer",
13+
{
14+
"preset": "conventionalcommits",
15+
},
16+
],
17+
[
18+
"@semantic-release/release-notes-generator",
19+
{
20+
"preset": "conventionalcommits",
21+
}
22+
]
23+
],
24+
};

0 commit comments

Comments
 (0)