mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-06 07:57:42 +02:00
Merge pull request #4689 from vector-im/manu/4393_towncrier_release_script
Make Towncrier compatible with the release script
This commit is contained in:
@@ -25,13 +25,19 @@
|
||||
{%- set gh_issue = value.replace("#", "") -%}
|
||||
{{- links.append( "[#%s](%s/issues/%s)" | format(gh_issue, gh_element, gh_issue) ) | default("", True) -}}
|
||||
{%- elif value.startswith("pr-") %}
|
||||
{%- set pr = value.replace("pr-", "#") -%}
|
||||
{{- links.append(pr) | default("", True) -}}
|
||||
{%- set pr = value.replace("pr-", "") -%}
|
||||
{{- links.append( "[#%s](%s/pull/%s)" | format(pr, gh_element, pr) ) | default("", True) -}}
|
||||
{%- elif value.startswith("x-nolink-") %}
|
||||
{{- nil | default("", True) -}}
|
||||
{% else %}
|
||||
{{- links.append(value) | default("", True) -}}
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
{% if links|length == 0 %}
|
||||
- {{ text }}
|
||||
{% else %}
|
||||
- {{ text }} ({{ links | join(', ') }})
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
- {{ sections[section][category]['']|join(', ') }}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
CHANGES.md: Use towncrier to manage the change log. More info in [CONTRIBUTING](CONTRIBUTING.md#changelog).
|
||||
Reference in New Issue
Block a user