Skip to content

Commit 275ebfd

Browse files
committed
enhancement: add support for 'enhancement' commit type in semantic-release
Both 'enhance:' and 'enhancement:' commit prefixes will now trigger patch releases. This provides flexibility for commit message formatting.
1 parent 2eac9e9 commit 275ebfd

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

cli/.releaserc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
{
88
"preset": "angular",
99
"releaseRules": [
10-
{ "type": "enhance", "release": "patch" }
10+
{ "type": "enhance", "release": "patch" },
11+
{ "type": "enhancement", "release": "patch" }
1112
]
1213
}
1314
],
@@ -20,6 +21,7 @@
2021
{ "type": "feat", "section": "Features" },
2122
{ "type": "fix", "section": "Bug Fixes" },
2223
{ "type": "enhance", "section": "Enhancements" },
24+
{ "type": "enhancement", "section": "Enhancements" },
2325
{ "type": "perf", "section": "Performance Improvements" },
2426
{ "type": "refactor", "section": "Code Refactoring", "hidden": true },
2527
{ "type": "docs", "section": "Documentation", "hidden": true },

testplanit/.releaserc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
{
88
"preset": "angular",
99
"releaseRules": [
10-
{ "type": "enhance", "release": "patch" }
10+
{ "type": "enhance", "release": "patch" },
11+
{ "type": "enhancement", "release": "patch" }
1112
]
1213
}
1314
],
@@ -20,6 +21,7 @@
2021
{ "type": "feat", "section": "Features" },
2122
{ "type": "fix", "section": "Bug Fixes" },
2223
{ "type": "enhance", "section": "Enhancements" },
24+
{ "type": "enhancement", "section": "Enhancements" },
2325
{ "type": "perf", "section": "Performance Improvements" },
2426
{ "type": "refactor", "section": "Code Refactoring", "hidden": true },
2527
{ "type": "docs", "section": "Documentation", "hidden": true },

0 commit comments

Comments
 (0)