about summary refs log tree commit diff stats
path: root/templates/rust/cog.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/rust/cog.toml24
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/rust/cog.toml b/templates/rust/cog.toml
index 0756943..2646f07 100644
--- a/templates/rust/cog.toml
+++ b/templates/rust/cog.toml
@@ -1,14 +1,14 @@
-from_latest_tag = false
 tag_prefix = "v"
+branch_whitelist = ["main", "prime"]
 ignore_merge_commits = false
-pre_package_bump_hooks = []
-post_package_bump_hooks = []
 
-branch_whitelist = ["prime"]
+[commit_types]
 
 pre_bump_hooks = [
-  "nix build",                     # verify the project builds
-  "cargo set-version {{version}}", # bump version in Cargo.toml
+  "nix flake check",                     # verify the project builds
+  "./scripts/renew_copyright_header.sh", # update the license header in each file
+  "cargo set-version {{version}}",       # bump version in Cargo.toml
+  "nix fmt",                             # format
 ]
 post_bump_hooks = [
   "git push",
@@ -16,12 +16,12 @@ post_bump_hooks = [
   "git push origin v{{version}}", # push the new tag to origin
 ]
 
-[commit_types]
+[bump_profiles]
 
 [changelog]
 path = "NEWS.md"
-authors = []
-
-[bump_profiles]
-
-[packages]
+template = "remote"
+remote = "TODO"
+repository = "TODO"
+owner = "TODO"
+authors = [{ signature = "Benedikt Peetz", username = "bpeetz" }]