Skip to content

Commit c9521df

Browse files
authored
Added contributors section to the release/releases footer (#429)
* Added contributors section to the release/releases footer * Updated dependencies
1 parent bb88829 commit c9521df

File tree

27 files changed

+458
-330
lines changed

27 files changed

+458
-330
lines changed

composer.lock

Lines changed: 50 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/templates/html/classic/changelog.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
{% include 'release.html.twig' with {release: release, footer: false} %}
33

44
{% endfor %}
5-
{% include 'footer.html.twig' %}
5+
{% include 'footer.html.twig' with {contributors : releases.contributors} %}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1+
<h2>Contributors</h2>
2+
<ul>
3+
{% for contributor in contributors %}
4+
<li><a href="{{ contributor.url }}" target="_blank">@{{ contributor.name }}</a></li>
5+
{% endfor %}
6+
</ul>
7+
18
<footer>Generated by <a href="https://github.com/aeon-php/automation">Automation</a></footer>

resources/templates/html/classic/release.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
{% endif %}
55
{% if footer == true %}
66

7-
{% include 'footer.html.twig' %}
7+
{% include 'footer.html.twig' with {contributors: release.contributors} %}
88
{% endif %}

resources/templates/html/keepachangelog/changelog.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
{% include 'release.html.twig' with {release: release, footer: false} %}
33

44
{% endfor %}
5-
{% include 'footer.html.twig' %}
5+
{% include 'footer.html.twig' with {contributors : releases.contributors} %}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1+
<h2>Contributors</h2>
2+
<ul>
3+
{% for contributor in contributors %}
4+
<li><a href="{{ contributor.url }}" target="_blank">@{{ contributor.name }}</a></li>
5+
{% endfor %}
6+
</ul>
7+
18
<footer>Generated by <a href="https://github.com/aeon-php/automation">Automation</a></footer>

resources/templates/html/keepachangelog/release.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
{% endif %}
1111
{% if footer == true %}
1212

13-
{% include 'footer.html.twig' %}
13+
{% include 'footer.html.twig' with {contributors: release.contributors} %}
1414
{% endif %}

resources/templates/markdown/classic/changelog.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
{% include 'release.md.twig' with {release: release, footer: false} %}
33

44
{% endfor %}
5-
{% include 'footer.md.twig' %}
5+
{% include 'footer.md.twig' with {contributors: releases.contributors} %}

resources/templates/markdown/classic/changelog/changelog.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
{% endfor %}
44
{% if footer == true %}
55

6-
{% include 'footer.html.twig' %}
6+
{% include 'footer.html.twig' with {contributors: release.contributors} %}
77
{% endif %}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1+
## Contributors
2+
3+
{% for contributor in contributors %}
4+
- @{{ contributor.name }}
5+
{% endfor %}
6+
17
Generated by [Automation](https://github.com/aeon-php/automation)

0 commit comments

Comments
 (0)