Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
build(release): change changelog configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
xzima committed May 24, 2022
1 parent 7e2e81d commit 5a5a202
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,25 @@ module.exports = {
],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
['@semantic-release/release-notes-generator', {
"preset": "conventionalcommits",
presetConfig: {
"types": [
{type: 'feat', section: 'Features'},
{type: 'feature', section: 'Features'},
{type: 'fix', section: 'Bug Fixes'},
{type: 'perf', section: 'Performance Improvements'},
{type: 'revert', section: 'Reverts'},
{type: 'docs', section: 'Documentation'},
{type: 'style', section: 'Styles', hidden: true},
{type: 'chore', section: 'Miscellaneous Chores', hidden: true},
{type: 'refactor', section: 'Code Refactoring', hidden: true},
{type: 'test', section: 'Tests', hidden: true},
{type: 'build', section: 'Build System'},
{type: 'ci', section: 'Continuous Integration', hidden: true}
]
}
}],
'@semantic-release/changelog',
['@semantic-release/exec', {prepareCmd, publishCmd, successCmd}],
['@semantic-release/git', {assets: '.'}],
Expand Down

0 comments on commit 5a5a202

Please sign in to comment.