-
-
Notifications
You must be signed in to change notification settings - Fork 280
Can you add the commit sha1 in the changelog command? #987
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
Labels
Comments
noirbizarre
added a commit
to noirbizarre/commitizen
that referenced
this issue
Mar 10, 2024
…in changelog tree (fix commitizen-tools#987)
noirbizarre
added a commit
to noirbizarre/commitizen
that referenced
this issue
Mar 10, 2024
…in changelog tree (fix commitizen-tools#987)
noirbizarre
added a commit
to noirbizarre/commitizen
that referenced
this issue
Mar 10, 2024
…n changelog tree (fix commitizen-tools#987)
Merged
4 tasks
Hi 👋🏼 I created a pull request (#1013) to add this, but given it's not without impact (increase memory usage on changelog generation), it needs to be discussed I think. Anyway, this is already possible with the following def changelog_message_builder_hook(
self, parsed_message: dict, commit: git.GitCommit
) -> dict | list | None:
parsed_message.update(
sha1=commit.rev,
author=commit.author,
author_email=commit.author_email,
)
return parsed_message |
noirbizarre
added a commit
to noirbizarre/commitizen
that referenced
this issue
Mar 11, 2024
…n changelog tree (fix commitizen-tools#987)
Hello Thanks ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I would like to be able to customize the changelog template adding the sha1:
Thanks
Possible Solution
Add the sha1 in the "Change" object. Maybe author as well.
Additional context
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: