diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 17:40:13 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 23:59:56 +0200 |
commit | 8180fca7a1acd0aff84a44e53a5f66181360a216 (patch) | |
tree | b72499eec8256c4090b8031b9eb99cff6324bb58 /templates/rust/cog.toml | |
parent | feat(awk): Update to my current SOTA (diff) | |
download | flake-templates-8180fca7a1acd0aff84a44e53a5f66181360a216.tar.gz flake-templates-8180fca7a1acd0aff84a44e53a5f66181360a216.zip |
refactor(rust): Move to template dir
Diffstat (limited to 'templates/rust/cog.toml')
-rw-r--r-- | templates/rust/cog.toml | 27 |
1 files changed, 27 insertions, 0 deletions
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] |