Skip to content

Commit

Permalink
ci: update release.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mchuangatmp committed Nov 4, 2022
1 parent 5ebf2e9 commit b67c8f8
Showing 1 changed file with 52 additions and 3 deletions.
55 changes: 52 additions & 3 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,57 @@ module.exports = {
[
"@semantic-release/release-notes-generator",
{
preset: "angular",
},
preset: "conventionalcommits",
presetConfig: {
types: [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
},
{
"type": "style",
"section": "Updates & Maintenance",
"hidden": false
},
{
"type": "refactor",
"section": "Updates & Maintenance",
"hidden": false
},
{
"type": "perf",
"section": "Updates & Maintenance",
"hidden": false
},
{
"type": "test",
"section": "Updates & Maintenance",
"hidden": false
},
{
"type": "ci",
"section": "Updates & Maintenance",
"hidden": false
},
{
"type": "chore",
"section": "Updates & Maintenance",
"hidden": false
}
]
}
}
],
[
"@semantic-release/changelog",
Expand All @@ -44,7 +93,7 @@ module.exports = {
{
assets: ["CHANGELOG.md", "build.gradle", "README.md"],
message:
"chore(release): ${nextRelease.version} \n\n${nextRelease.notes}",
"chore: ${nextRelease.version} (release) \n\n${nextRelease.notes}",
},
],
],
Expand Down

0 comments on commit b67c8f8

Please sign in to comment.