about summary refs log tree commit diff stats
path: root/templates/shell/cog.toml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shell/cog.toml')
-rw-r--r--templates/shell/cog.toml26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/shell/cog.toml b/templates/shell/cog.toml
new file mode 100644
index 0000000..2b049c7
--- /dev/null
+++ b/templates/shell/cog.toml
@@ -0,0 +1,26 @@
+from_latest_tag = false
+tag_prefix = "v"
+ignore_merge_commits = false
+pre_package_bump_hooks = []
+post_package_bump_hooks = []
+
+branch_whitelist = ["prime"]
+
+pre_bump_hooks = [
+  "nix build",                                                          # verify the project builds
+  "flake_version_update --version v{{version}} --input-file flake.nix",
+]
+post_bump_hooks = [
+  "git push",
+  "git push origin v{{version}}", # push the new tag to origin
+]
+
+[commit_types]
+
+[changelog]
+path = "NEWS.md"
+authors = []
+
+[bump_profiles]
+
+[packages]