-
Notifications
You must be signed in to change notification settings - Fork 96
fix: Include other Conventional Commit types #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,7 +51,7 @@ Changelog of {{repoName}}. | |
| ### Other changes | ||
|
|
||
| {{#commits}} | ||
| {{#ifCommitType . type='^$'}} | ||
| {{#ifCommitType . type='^($^|(?!fix|feat|breaking|chore).*)'}} | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would encourage all users to create their own custom template and adjust it exactly as they want. All tools using this library should offer that feature. |
||
| **{{{messageTitle}}}** | ||
|
|
||
| {{#messageBodyItems}} | ||
|
|
@@ -60,9 +60,21 @@ Changelog of {{repoName}}. | |
|
|
||
| [{{subString hash 0 5}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}) {{authorName}} *{{commitTime}}* | ||
|
|
||
| {{/ifCommitType}} | ||
| {{#ifCommitType . type="chore"}} | ||
| {{#ifCommitTypeOtherThan . scope="deps"}} | ||
| **{{{messageTitle}}}** | ||
|
|
||
| {{#messageBodyItems}} | ||
| * {{.}} | ||
| {{/messageBodyItems}} | ||
|
|
||
| [{{subString hash 0 5}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}) {{authorName}} *{{commitTime}}* | ||
|
|
||
| {{/ifCommitTypeOtherThan}} | ||
| {{/ifCommitType}} | ||
| {{/commits}} | ||
|
|
||
| {{/ifContainsType}} | ||
| {{/ifEquals}} | ||
| {{/tags}} | ||
| {{/tags}} | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to make sure the
chores that aren't dependency updates are included in the list, as thechore(deps)were included inDependency updatessectionThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably means you should have your own complete template. I personally dont want the chores in the changelog.