diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-03 20:52:28 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-03 20:53:04 +0200 |
commit | 87f57f8fd676d37b6aa5d1b3a85197ac59cb1eb4 (patch) | |
tree | 816c7ef5fdcf46f9d809a53203c5d0a7536858c7 /templates/latex/letter/cog.toml | |
parent | fix(common/init): Actually ask the user for the license ident (diff) | |
download | flake-templates-87f57f8fd676d37b6aa5d1b3a85197ac59cb1eb4.tar.gz flake-templates-87f57f8fd676d37b6aa5d1b3a85197ac59cb1eb4.zip |
feat(templates/latex/letter): Init
Diffstat (limited to '')
-rw-r--r-- | templates/latex/letter/cog.toml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/latex/letter/cog.toml b/templates/latex/letter/cog.toml new file mode 100644 index 0000000..ccca764 --- /dev/null +++ b/templates/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" }] |