Skip to content

Commit 1d86de1

Browse files
committed
fix(ci): improve commitPartial and release notes grouping logic
- Updated `commitPartial` in `shared.cjs` to include `type` and `scope` formatting enhancements. - Enabled grouping of commits by `type` with sorting on `scope` and `subject`. - Adjusted `commitGroupsSort` and `commitsSort` for better structured release notes.
1 parent 9f6149d commit 1d86de1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

release/shared.cjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ const commonPlugins = [
3131
headerPartial:
3232
"## 🚀 {{#if @root.pkg}}{{@root.pkg.name}} {{else}}{{~#if name}}{{name}} {{/if}}{{/if}}{{version}}\n\n",
3333
commitPartial:
34-
"### {{#if scope}}`{{scope}}`: {{/if}}{{subject}}\n\n{{~#if body}}{{body}}\n{{/if}}",
34+
"{{#if type}}* {{#if scope}}**{{scope}}:** {{/if}}{{subject}}\n\n{{~#if body}}{{body}}\n{{/if}}{{/if}}",
35+
groupBy: "type",
36+
commitGroupsSort: "title",
37+
commitsSort: ["scope", "subject"],
3538
},
3639
},
3740
],

0 commit comments

Comments
 (0)