about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-01 12:58:37 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-01 12:58:37 +0200
commitc7522ce544db03dfb6366ce1705fb828f6377ed9 (patch)
tree49449fdd66201ffbbb2658adc97423b7373821ac
parentrefactor(templates): Instantiate all symlinks (diff)
downloadflake-templates-c7522ce544db03dfb6366ce1705fb828f6377ed9.tar.gz
flake-templates-c7522ce544db03dfb6366ce1705fb828f6377ed9.zip
build(cog.toml): Also update files before every new release
-rw-r--r--cog.toml5
1 files changed, 3 insertions, 2 deletions
diff --git a/cog.toml b/cog.toml
index 69a7f6d..6f04158 100644
--- a/cog.toml
+++ b/cog.toml
@@ -3,8 +3,9 @@ branch_whitelist = ["main", "prime"]
 ignore_merge_commits = false
 
 pre_bump_hooks = [
-  "nix flake check", # verify the project builds
-  "nix fmt",         # format
+  "./update_common_files.sh", # Ensure that ever template has the newest files
+  "nix flake check",          # verify the project builds
+  "nix fmt",                  # format
 ]
 post_bump_hooks = [
   "git push",