Skip to content

Commit 252be9b

Browse files
committed
chore: configure semantic-release to work with v0.0.1 baseline
- Add explicit tag format configuration - Define release rules for different commit types - Ensure semantic-release recognizes existing v0.0.1 tag as starting point
1 parent d174ac9 commit 252be9b

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.releaserc.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
{
22
"branches": ["main"],
3+
"tagFormat": "v${version}",
34
"plugins": [
4-
"@semantic-release/commit-analyzer",
5+
[
6+
"@semantic-release/commit-analyzer",
7+
{
8+
"releaseRules": [
9+
{"type": "feat", "release": "minor"},
10+
{"type": "fix", "release": "patch"},
11+
{"type": "chore", "release": false},
12+
{"type": "docs", "release": false},
13+
{"type": "refactor", "release": "patch"},
14+
{"type": "test", "release": false}
15+
]
16+
}
17+
],
518
"@semantic-release/release-notes-generator",
619
[
720
"@semantic-release/changelog",

0 commit comments

Comments
 (0)