about summary refs log tree commit diff stats
path: root/build/latex/letter/cog.toml
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-03 20:53:54 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-03 20:53:54 +0200
commitb241b009646b36891e6b6c9d336357ed595d4dc7 (patch)
tree0a47390083f6994698bb71aa524e0642912e2ae1 /build/latex/letter/cog.toml
parentfeat(templates/latex/letter): Init (diff)
downloadflake-templates-b241b009646b36891e6b6c9d336357ed595d4dc7.tar.gz
flake-templates-b241b009646b36891e6b6c9d336357ed595d4dc7.zip
chore(build): Regenerate
Diffstat (limited to 'build/latex/letter/cog.toml')
-rw-r--r--build/latex/letter/cog.toml24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/latex/letter/cog.toml b/build/latex/letter/cog.toml
new file mode 100644
index 0000000..ccca764
--- /dev/null
+++ b/build/latex/letter/cog.toml
@@ -0,0 +1,24 @@
+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" }]