File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ {% for type_ , commits in release ["elements" ] | dictsort %}
2
+ ### {{ type_ | capitalize if type_ != "ci" else "Continuous Integration" }}
3
+ {% - if type_ != "unknown" %}
4
+ {% for commit in commits -%}
5
+ {% - set summary = commit .message .rstrip ().splitlines ()[0] -%}
6
+ {% - set details = commit .message .rstrip ().splitlines ()[2:] -%}
7
+ * {{ summary }} ([`{{ commit.hexsha[:7] }}`]({{ commit.hexsha | commit_hash_url }}))
8
+ {% if details %}
9
+ {% for line in details %}{% if line .strip () %} {{ line }}{% endif %}
10
+ {% endfor %}{% endif -%}
11
+ {% endfor %}{% endif %}{% endfor %}
Original file line number Diff line number Diff line change
1
+ # CHANGELOG
2
+
3
+
4
+ {% for version , release in context .history .released .items () %}
5
+ ## {{ version.as_tag() }} ({{ release.tagged_date.strftime("%Y-%m-%d") }})
6
+ {% for type_ , commits in release ["elements" ] | dictsort %}
7
+ ### {{ type_ | capitalize if type_ != "ci" else "Continuous Integration" }}
8
+ {% for commit in commits -%}
9
+ {% - set summary = commit .message .rstrip ().splitlines ()[0] -%}
10
+ {% - set details = commit .message .rstrip ().splitlines ()[2:] -%}
11
+ * {{ summary }} ([`{{ commit.hexsha[:7] }}`]({{ commit.hexsha | commit_hash_url }}))
12
+ {% if details %}
13
+ {% for line in details %}{% if line .strip () %} {{ line }}{% endif %}
14
+ {% endfor %}{% endif -%}
15
+ {% endfor %}{% endfor %}{% endfor %}
You can’t perform that action at this time.
0 commit comments