From 2bb1c6d4948eecbdacea1267ee0a132aa88a7b5c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 31 Mar 2024 23:44:59 +0200 Subject: fix(templates): Update already done templates with improvements from new ones --- templates/c/cog.toml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'templates/c/cog.toml') diff --git a/templates/c/cog.toml b/templates/c/cog.toml index d34ced6..ff2c110 100644 --- a/templates/c/cog.toml +++ b/templates/c/cog.toml @@ -2,12 +2,11 @@ tag_prefix = "v" branch_whitelist = ["main", "prime"] ignore_merge_commits = false -[commit_types] - pre_bump_hooks = [ - "nix flake check", # verify the project builds - "./scripts/renew_copyright_header.sh", # update the license header in each file - "nix fmt", # format + "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", -- cgit 1.4.1