From 51cfcdc6488c878764193c33121144564e76c802 Mon Sep 17 00:00:00 2001 From: "Max P." Date: Sun, 14 Dec 2025 21:58:38 +0100 Subject: [PATCH] fix(config): update template to generalize gitea remote and add postprocessors --- cliff.toml.template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cliff.toml.template b/cliff.toml.template index dd1624d..bb975d5 100644 --- a/cliff.toml.template +++ b/cliff.toml.template @@ -4,13 +4,15 @@ # Lines starting with "#" are comments. # Configuration options are organized into tables and keys. # See documentation for more information on available options. -[remote.gitea] -owner = "%OWNER%" -repo = "%REPO%" +# [remote.gitea] # Disabled by default +# 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 = """ @@ -20,7 +22,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=" ") -%}