diff options
Diffstat (limited to 'rust/cog.toml')
-rw-r--r-- | rust/cog.toml | 29 |
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] |