Revert "fix(config): update template to generalize gitea remote and add postprocessors"
All checks were successful
Auto Changelog & Release / release (push) Successful in 17s
All checks were successful
Auto Changelog & Release / release (push) Successful in 17s
This reverts commit 51cfcdc648.
This commit is contained in:
@@ -4,15 +4,13 @@
|
|||||||
# Lines starting with "#" are comments.
|
# Lines starting with "#" are comments.
|
||||||
# Configuration options are organized into tables and keys.
|
# Configuration options are organized into tables and keys.
|
||||||
# See documentation for more information on available options.
|
# See documentation for more information on available options.
|
||||||
# [remote.gitea] # Disabled by default
|
[remote.gitea]
|
||||||
# owner = "%OWNER%"
|
owner = "%OWNER%"
|
||||||
# repo = "%REPO%"
|
repo = "%REPO%"
|
||||||
|
|
||||||
[changelog]
|
[changelog]
|
||||||
postprocessors = [
|
postprocessors = [
|
||||||
{ pattern = '<GITEA_URL>', replace = "https://git.0xmax42.io" }, # replace gitea url
|
{ pattern = '<GITEA_URL>', replace = "https://git.0xmax42.io" }, # replace gitea url
|
||||||
{ pattern = '<OWNER>', replace = "%OWNER%" }, # replace owner
|
|
||||||
{ pattern = '<REPO>', replace = "%REPO%" }, # replace repo
|
|
||||||
]
|
]
|
||||||
|
|
||||||
header = """
|
header = """
|
||||||
@@ -22,7 +20,7 @@ All notable changes to this project will be documented in this file.\n
|
|||||||
|
|
||||||
body = """
|
body = """
|
||||||
{%- macro remote_url() -%}
|
{%- macro remote_url() -%}
|
||||||
<GITEA_URL>/<OWNER>/<REPO>
|
<GITEA_URL>/{{ remote.gitea.owner }}/{{ remote.gitea.repo }}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro indent(text, prefix=" ") -%}
|
{%- macro indent(text, prefix=" ") -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user