From cfa3e6ce5d8bce3ead72a2dfc81875bbd896d5f9 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 30 Sep 2024 17:31:16 +0200 Subject: fix(templates/{awk,c,latex,shell}): Use one shared `cog.toml` --- templates/latex/academia/cog.toml | 25 +------------------------ templates/latex/letter/cog.toml | 25 +------------------------ 2 files changed, 2 insertions(+), 48 deletions(-) mode change 100644 => 120000 templates/latex/academia/cog.toml mode change 100644 => 120000 templates/latex/letter/cog.toml (limited to 'templates/latex') diff --git a/templates/latex/academia/cog.toml b/templates/latex/academia/cog.toml deleted file mode 100644 index ccca764..0000000 --- a/templates/latex/academia/cog.toml +++ /dev/null @@ -1,24 +0,0 @@ -tag_prefix = "v" -branch_whitelist = ["main", "prime"] -ignore_merge_commits = false - -pre_bump_hooks = [ - "nix flake check", # verify the project builds - "./scripts/renew_copyright_header.sh", # update the license header in each file - "flake_version_update --version v{{version}} --input-file flake.nix", # update the version in the flake.nix file - "nix fmt", # format -] -post_bump_hooks = [ - "git push", - "git push origin v{{version}}", # push the new tag to origin -] - -[bump_profiles] - -[changelog] -path = "NEWS.md" -template = "remote" -remote = "%INIT_REMOTE" -repository = "%INIT_REPOSITORY" -owner = "%INIT_OWNER" -authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }] diff --git a/templates/latex/academia/cog.toml b/templates/latex/academia/cog.toml new file mode 120000 index 0000000..a5be520 --- /dev/null +++ b/templates/latex/academia/cog.toml @@ -0,0 +1 @@ +../../../common/cog.toml \ No newline at end of file diff --git a/templates/latex/letter/cog.toml b/templates/latex/letter/cog.toml deleted file mode 100644 index ccca764..0000000 --- a/templates/latex/letter/cog.toml +++ /dev/null @@ -1,24 +0,0 @@ -tag_prefix = "v" -branch_whitelist = ["main", "prime"] -ignore_merge_commits = false - -pre_bump_hooks = [ - "nix flake check", # verify the project builds - "./scripts/renew_copyright_header.sh", # update the license header in each file - "flake_version_update --version v{{version}} --input-file flake.nix", # update the version in the flake.nix file - "nix fmt", # format -] -post_bump_hooks = [ - "git push", - "git push origin v{{version}}", # push the new tag to origin -] - -[bump_profiles] - -[changelog] -path = "NEWS.md" -template = "remote" -remote = "%INIT_REMOTE" -repository = "%INIT_REPOSITORY" -owner = "%INIT_OWNER" -authors = [{ signature = "%INIT_AUTHOR_NAME", username = "%INIT_OWNER" }] diff --git a/templates/latex/letter/cog.toml b/templates/latex/letter/cog.toml new file mode 120000 index 0000000..a5be520 --- /dev/null +++ b/templates/latex/letter/cog.toml @@ -0,0 +1 @@ +../../../common/cog.toml \ No newline at end of file -- cgit 1.4.1