Skip to content

Commit

Permalink
ci: improve release notes (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk authored Feb 29, 2024
1 parent 88aadb7 commit a16dc78
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [{ "type": "docs", "release": "patch" }],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
}
Expand All @@ -11,12 +12,35 @@
[
"@semantic-release/release-notes-generator",
{
"preset": "angular",
"preset": "conventionalcommits",
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
},
"presetConfig": {
"types": [
{ "type": "feat", "section": "Features" },
{ "type": "perf", "section": "Performance Improvements" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "docs", "section": "Documentation" },
{ "type": "revert", "section": "Reverts" },
{ "type": "build", "section": "Build System", "hidden": true },
{ "type": "chore", "section": "Build System", "hidden": true },
{
"type": "ci",
"section": "Continuous Integration",
"hidden": true
},
{
"type": "refactor",
"section": "Code Refactoring",
"hidden": true
},
{ "type": "style", "section": "Styles", "hidden": true },
{ "type": "test", "section": "Tests", "hidden": true }
]
},
"writerOpts": {
"commitsSort": ["subject", "scope"]
"commitsSort": ["scope", "subject"]
}
}
],
Expand Down Expand Up @@ -44,8 +68,6 @@
}
]
],
"branches": [
"main"
],
"branches": ["main"],
"ci": true
}

0 comments on commit a16dc78

Please sign in to comment.