summary refs log tree commit diff stats
path: root/cog.toml
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-06-18 16:32:47 +0200
committerSoispha <soispha@vhack.eu>2023-06-18 16:32:47 +0200
commit369bf07cbb36d8e72025014bfd4ddc52d9049fde (patch)
tree545b32762ec8af521484f6c520dc568edaf8a2f7 /cog.toml
downloadlpm-369bf07cbb36d8e72025014bfd4ddc52d9049fde.tar.gz
lpm-369bf07cbb36d8e72025014bfd4ddc52d9049fde.zip
Chore: Initial commit
Diffstat (limited to 'cog.toml')
-rw-r--r--cog.toml29
1 files changed, 29 insertions, 0 deletions
diff --git a/cog.toml b/cog.toml
new file mode 100644
index 0000000..2f2b2ce
--- /dev/null
+++ b/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.md"
+authors = []
+
+[bump_profiles]
+
+[packages]