File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,21 @@ body = """
18
18
{%- for commit in commits %}
19
19
{%- if commit.scope -%}
20
20
{% else -%}
21
- - {% if commit.breaking %} [**breaking**]{% endif %}\
21
+ - {% if commit.breaking %} [**breaking**]{% endif %} \
22
22
{{ commit.message }} - ([{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }}))
23
23
{% endif -%}
24
24
{% endfor -%}
25
25
{% endfor %}\n
26
26
{% if version %}
27
27
{% if previous.version %}
28
- **Full Changelog**: $REPO /compare/{{ previous.version }}...{{ version }}
28
+ **Full Changelog**: {{ self::remote_url() }} /compare/{{ previous.version }}...{{ version }}
29
29
{% endif %}
30
30
{% else -%}
31
31
{% raw %}\n {% endraw %}
32
32
{% endif %}
33
+ {%- macro remote_url() -%}
34
+ https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
35
+ {%- endmacro -%}
33
36
"""
34
37
35
38
# remove the leading and trailing whitespace from the template
You can’t perform that action at this time.
0 commit comments