Skip to content

Commit 5159758

Browse files
committed
chore: update release configuration to simplify branch management and ensure changelog generation
1 parent 447f540 commit 5159758

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

release.config.mjs

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,26 @@
22
* @type {import('semantic-release').GlobalConfig}
33
*/
44
export default {
5-
branches: ["main", "next", { name: "beta", prerelease: true }, { name: "alpha", prerelease: true }],
6-
plugins: [
7-
"@semantic-release/release-notes-generator",
8-
"@semantic-release/commit-analyzer",
9-
"@semantic-release/github",
10-
"@semantic-release/npm",
11-
[
12-
"@semantic-release/changelog",
13-
{
14-
"changelogFile": "docs/CHANGELOG.md"
15-
}
16-
],
17-
[
18-
"@semantic-release/git",
19-
{
20-
"assets": ["docs/CHANGELOG.md"]
21-
}
22-
],
5+
branches: [
6+
{ name: "main" },
7+
{ name: "next", prerelease: true },
8+
],
9+
plugins: [
10+
"@semantic-release/release-notes-generator",
11+
"@semantic-release/commit-analyzer",
12+
"@semantic-release/npm",
13+
"@semantic-release/github",
14+
[
15+
"@semantic-release/changelog",
16+
{
17+
"changelogFile": "docs/CHANGELOG.md"
18+
}
2319
],
24-
};
20+
[
21+
"@semantic-release/git",
22+
{
23+
"assets": ["docs/CHANGELOG.md"]
24+
}
25+
],
26+
],
27+
};

0 commit comments

Comments
 (0)