Skip to content

Commit

Permalink
Update .releaserc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHalko committed Jan 30, 2024
1 parent 9622b08 commit 994ca48
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,23 @@ module.exports = {
[
"@semantic-release/release-notes-generator",
{
presetConfig: {
types: [
{ type: "feat", section: "Features" },
{ type: "fix", section: "Bug Fixes" },
{ type: "docs", section: "Documentation" },
{ type: "style", section: "Styles" },
{ type: "refactor", section: "Code Refactoring" },
{ type: "perf", section: "Performance Improvements" },
{ type: "test", section: "Tests" },
{ type: "build", section: "Builds" },
{ type: "ci", section: "Continuous Integration" },
{ type: "chore", section: "Chores" },
{ type: "revert", section: "Reverts" },
],
"preset": "conventionalcommits",
parserOpts: {
headerCorrespondence: ['type','scope','subject'],
},
writerOpts: {
commitPartial: "* {{subject}} ([{{author.name}}]({{~@root.host}}/{{~@root.owner}}/{{~@root.repository}}/commit/{{hash}}))\n",
mainTemplate: `
{{#each commitGroups}}
{{#if title}}
## {{title}}
{{/if}}
{{#each commits}}
{{> commit root=@root}}
{{/each}}
{{/each}}
`
}
}
],
[
Expand Down

0 comments on commit 994ca48

Please sign in to comment.