From 8cdf29d1af249a9db6721c6922969415c81d0c3c Mon Sep 17 00:00:00 2001 From: "Max P." Date: Sun, 14 Dec 2025 22:00:54 +0100 Subject: [PATCH] Revert "fix(config): update template to generalize gitea remote and add postprocessors" This reverts commit 51cfcdc6488c878764193c33121144564e76c802. --- cliff.toml.template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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=" ") -%}