Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

Commit 48550e4

Browse files
Merge pull request #21 from justgithubaccount/feat/test-full-ci-v3
feat(ci): improve release automation
2 parents d20ac6b + 53b5e74 commit 48550e4

File tree

1 file changed

+40
-2
lines changed

1 file changed

+40
-2
lines changed

.releaserc.json

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,46 @@
11
{
22
"branches": ["main"],
33
"plugins": [
4-
"@semantic-release/commit-analyzer",
5-
"@semantic-release/release-notes-generator",
4+
[
5+
"@semantic-release/commit-analyzer",
6+
{
7+
"releaseRules": [
8+
{"type": "feat", "release": "minor"},
9+
{"type": "fix", "release": "patch"},
10+
{"type": "perf", "release": "patch"},
11+
{"type": "revert", "release": "patch"},
12+
{"type": "docs", "release": "patch"},
13+
{"type": "style", "release": "patch"},
14+
{"type": "refactor", "release": "patch"},
15+
{"type": "test", "release": "patch"},
16+
{"type": "tst", "release": "patch"},
17+
{"type": "ci", "release": "patch"},
18+
{"type": "chore", "release": "patch"},
19+
{"breaking": true, "release": "major"}
20+
]
21+
}
22+
],
23+
[
24+
"@semantic-release/release-notes-generator",
25+
{
26+
"preset": "conventionalcommits",
27+
"presetConfig": {
28+
"types": [
29+
{"type": "feat", "section": "Features"},
30+
{"type": "fix", "section": "Bug Fixes"},
31+
{"type": "perf", "section": "Performance Improvements"},
32+
{"type": "revert", "section": "Reverts"},
33+
{"type": "docs", "section": "Documentation"},
34+
{"type": "style", "section": "Styles"},
35+
{"type": "refactor", "section": "Code Refactoring"},
36+
{"type": "test", "section": "Tests"},
37+
{"type": "tst", "section": "Tests"},
38+
{"type": "ci", "section": "Continuous Integration"},
39+
{"type": "chore", "section": "Chores"}
40+
]
41+
}
42+
}
43+
],
644
[
745
"@semantic-release/github",
846
{

0 commit comments

Comments
 (0)