🔨 Añade soporte a changelog de pagetop-statics
(#2)
Reviewed-on: #2 Co-authored-by: Manuel Cillero <manuel@cillero.es> Co-committed-by: Manuel Cillero <manuel@cillero.es>
This commit is contained in:
parent
47ea9d9f7d
commit
c6075fd312
2 changed files with 8 additions and 3 deletions
|
@ -21,9 +21,9 @@ body = """
|
|||
{% else %}
|
||||
## Pendiente de publicación
|
||||
{% endif %}\
|
||||
{% set base = "https://git.cillero.es/manuelcillero/pagetop" %}\
|
||||
{% for group, commits in commits | group_by(attribute="group") %}
|
||||
### {{ group | upper_first }}
|
||||
|
||||
{% for commit in commits %}
|
||||
{%- set msg = commit.message
|
||||
| split(pat="\n")
|
||||
|
@ -41,8 +41,8 @@ body = """
|
|||
| replace(from="📝 ", to="")
|
||||
| replace(from="💡 ", to="")
|
||||
-%}
|
||||
{% set sha7 = commit.id | truncate(length=7, end="") %}
|
||||
- {{ msg | trim }} ([{{ sha7 }}]({{ base }}/commit/{{ commit.id }}){% if commit.author.name != "Manuel Cillero" %} - {{ commit.author.name }}{% endif %})
|
||||
|
||||
- {{ msg | trim }} {% if commit.author.name != "Manuel Cillero" %} - {{ commit.author.name }}{% endif %}
|
||||
{% endfor %}{% endfor %}
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue