From 8180fca7a1acd0aff84a44e53a5f66181360a216 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 31 Mar 2024 17:40:13 +0200 Subject: refactor(rust): Move to template dir --- templates/rust/cog.toml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 templates/rust/cog.toml (limited to 'templates/rust/cog.toml') diff --git a/templates/rust/cog.toml b/templates/rust/cog.toml new file mode 100644 index 0000000..0756943 --- /dev/null +++ b/templates/rust/cog.toml @@ -0,0 +1,27 @@ +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] -- cgit 1.4.1