commitizen icon indicating copy to clipboard operation
commitizen copied to clipboard

Can you add the commit sha1 in the changelog command?

Open gsemet opened this issue 2 years ago • 0 comments

Description

I would like to be able to customize the changelog template adding the sha1:


{% for change in changes %}
{% if change.scope %}
- *{{ change.scope }}*: {{ change.message }} ({{ change.sha1 }})
{% elif change.message %}
- {{ change.message }} ({{ change.sha1 }})
{% endif %}
{% endfor %}

Thanks

Possible Solution

Add the sha1 in the "Change" object. Maybe author as well.

Additional context

No response

Additional context

No response

gsemet avatar Feb 14 '24 21:02 gsemet