Skip to content

Commit b9fdde9

Browse files
refactor(releaserc): remove default options (#177)
Co-authored-by: Nikita Almanov <[email protected]>
1 parent 8c3ea59 commit b9fdde9

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.releaserc.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
[
55
"@semantic-release/commit-analyzer",
66
{
7-
"preset": "conventionalcommits",
87
"releaseRules": [
98
{
109
"tag": "build",
@@ -59,7 +58,17 @@
5958
[
6059
"@semantic-release/release-notes-generator",
6160
{
62-
"preset": "conventionalcommits",
61+
"presetConfig": {
62+
"types": [
63+
{ "type": "docs", "section": "Documentation" },
64+
{ "type": "style", "section": "Styles" },
65+
{ "type": "chore", "section": "Miscellaneous Chores" },
66+
{ "type": "refactor", "section": "Code Refactoring" },
67+
{ "type": "test", "section": "Tests" },
68+
{ "type": "build", "section": "Build System" },
69+
{ "type": "ci", "section": "Continuous Integration" }
70+
]
71+
},
6372
"writerOpts": {
6473
"commitsSort": ["scope", "subject"]
6574
}
@@ -71,13 +80,8 @@
7180
"changelogTitle": "# Changelog"
7281
}
7382
],
74-
[
75-
"@semantic-release/git",
76-
{
77-
"assets": ["CHANGELOG.md"],
78-
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
79-
}
80-
],
83+
"@semantic-release/git",
8184
"@semantic-release/github"
82-
]
85+
],
86+
"preset": "conventionalcommits"
8387
}

0 commit comments

Comments
 (0)