about summary refs log tree commit diff stats
path: root/rust/cog.toml
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-27 16:47:17 +0200
committerSoispha <soispha@vhack.eu>2023-05-27 16:47:17 +0200
commit1f263a83a6f7d7dd1898326b04b2491b78e845b1 (patch)
treee56f9e121b8d904033fc9b21065ab0c9b242fb74 /rust/cog.toml
parentChore: Initial Commit (diff)
downloadflake-templates-1f263a83a6f7d7dd1898326b04b2491b78e845b1.tar.gz
flake-templates-1f263a83a6f7d7dd1898326b04b2491b78e845b1.zip
Feat(rust): Update
Diffstat (limited to 'rust/cog.toml')
-rw-r--r--rust/cog.toml29
1 files changed, 29 insertions, 0 deletions
diff --git a/rust/cog.toml b/rust/cog.toml
new file mode 100644
index 0000000..94374ad
--- /dev/null
+++ b/rust/cog.toml
@@ -0,0 +1,29 @@
+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
+    "cargo set-version {{version}}",  # bump version in Cargo.toml
+]
+post_bump_hooks = [
+    "git push",
+    "cargo publish",
+    "git push origin v{{version}}", # push the new tag to origin
+]
+
+[commit_types]
+
+[changelog]
+path = "NEWS"
+authors = []
+
+[bump_profiles]
+
+[packages]