File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,13 @@ No notable changes.
2626{% if commits | length == 0 %}
2727- No new contributors for this release.
2828{% else %}
29- {% for author_name, author_commits in commits | group_by(attribute="author.name ") %}
30- {% set author_email = ( author_commits | first).author.email %}
31- {% set display_name = author_name | default(value=author_email ) %}
29+ {% for author_name, author_commits in commits | group_by(attribute="author.email ") %}
30+ {% set first_commit = author_commits | first %}
31+ {% set display_name = first_commit.author.name | default(value= author_name | default(value="Unknown") ) %}
3232- {{ display_name }} ({{ author_commits | length }} commit{% if author_commits | length > 1 %}s{% endif %})
3333{% endfor %}
3434{% endif %}
35+ {% endif %}
3536"""
3637
3738group_by = [" type" ]
You can’t perform that action at this time.
0 commit comments