Skip to content
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

Add author and date per merge/fix in the compact template #143

Closed
MaluNoPeleke opened this issue Nov 14, 2019 · 1 comment
Closed

Add author and date per merge/fix in the compact template #143

MaluNoPeleke opened this issue Nov 14, 2019 · 1 comment

Comments

@MaluNoPeleke
Copy link

MaluNoPeleke commented Nov 14, 2019

When I create a changelog with the compact (default) template the author and date per merge/fix is missing in the output even if this feature was added in #58
Can you please add it to the template?
I tried the following command:

auto-changelog --commit-limit false -p --sort-commits date-desc

With the json template the author is being displayed correctly.

@MaluNoPeleke MaluNoPeleke changed the title Add author in the compact template Add author and date per merge/fix in the compact template Nov 15, 2019
@cookpete
Copy link
Owner

cookpete commented Dec 8, 2019

It was added to the data that can be used in custom templates, but that doesn't mean it has to be added to the compact template. The point of compact is to be as minimal as possible.

There's nothing stopping you copying the compact template into your project, adding the extra information you want, and using --custom-template:

auto-changelog --template ./templates/compact-with-author.hbs

@cookpete cookpete closed this as completed Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants