Skip to content

Commit 91e6d9a

Browse files
committed
chore(cliff): update the template variables for release-plz
1 parent 76a9c1e commit 91e6d9a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cliff.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,12 @@ body = """
5555
{% endif %}
5656
5757
{%- macro remote_url() -%}
58-
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
59-
{%- endmacro -%}
58+
{%- if remote.owner -%} {# release-plz specific variable #}
59+
https://github.com/{{ remote.owner }}/{{ remote.repo }}\
60+
{%- else -%}
61+
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\
62+
{%- endif -%}
63+
{% endmacro %}
6064
"""
6165
# template for the changelog footer
6266
footer = """

0 commit comments

Comments
 (0)