Skip to content

Commit

Permalink
added cargo-release config
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 25, 2024
1 parent 795fcad commit dc60fa6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tools]
"cargo:cargo-tarpaulin" = "0.27.3"
"cargo:git-cliff" = "1.4.0"
"cargo:cargo-release" = "0.25.4"

[tasks.changelog]
description = "Generate changelog"
Expand Down Expand Up @@ -41,3 +42,6 @@ run = [
"cargo fmt -- --check",
"cargo test --lib --tests"
]

[tasks.release]
run = 'cargo release'
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ termcolor = "1.4.1"
[dev-dependencies]
ctor = "0.2.6"
indoc = "2.0.4"

[package.metadata.release]
allow-branch = ["main"]
sign-tag = true
sign-commit = true
pre-release-hook = ["git", "cliff", "-o", "CHANGELOG.md", "--tag", "{{version}}" ]

0 comments on commit dc60fa6

Please sign in to comment.