diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 23:44:59 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-01 00:00:07 +0200 |
commit | 2bb1c6d4948eecbdacea1267ee0a132aa88a7b5c (patch) | |
tree | d9894056cafdf83fd7edb7b785ac6076cdc177cc /templates/c/cog.toml | |
parent | refactor(flake): Move some nix code out of flake.nix (diff) | |
download | flake-templates-2bb1c6d4948eecbdacea1267ee0a132aa88a7b5c.tar.gz flake-templates-2bb1c6d4948eecbdacea1267ee0a132aa88a7b5c.zip |
fix(templates): Update already done templates with improvements from new ones
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", |