diff --git a/cliff.toml.template b/cliff.toml.template index bb975d5..dd1624d 100644 --- a/cliff.toml.template +++ b/cliff.toml.template @@ -4,15 +4,13 @@ # Lines starting with "#" are comments. # Configuration options are organized into tables and keys. # See documentation for more information on available options. -# [remote.gitea] # Disabled by default -# owner = "%OWNER%" -# repo = "%REPO%" +[remote.gitea] +owner = "%OWNER%" +repo = "%REPO%" [changelog] postprocessors = [ { pattern = '', replace = "https://git.0xmax42.io" }, # replace gitea url - { pattern = '', replace = "%OWNER%" }, # replace owner - { pattern = '', replace = "%REPO%" }, # replace repo ] header = """ @@ -22,7 +20,7 @@ All notable changes to this project will be documented in this file.\n body = """ {%- macro remote_url() -%} - // + /{{ remote.gitea.owner }}/{{ remote.gitea.repo }} {%- endmacro -%} {%- macro indent(text, prefix=" ") -%}