diff options
Diffstat (limited to 'templates/c/cog.toml')
-rw-r--r-- | templates/c/cog.toml | 9 |
1 files changed, 4 insertions, 5 deletions
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", |