Skip to content

Commit 14dfe91

Browse files
committed
feat: add settings for cargo release tests
1 parent 97f245e commit 14dfe91

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,23 @@ sqlx = { version = "0.8.6", features = ["sqlite", "runtime-tokio-native-tls"] }
4747
bip39 = { version = "2.2.0", features = ["rand"] }
4848
dirs = "6.0.0"
4949

50+
51+
[package.metadata.release]
52+
# (Default: true) Set to false to prevent automatically running `cargo publish`.
53+
publish = false
54+
# (Default: true) Set to false to prevent automatically pushing commits and tags to the Git remote.
55+
push = true
56+
# (Default: true) Run `cargo test` before release? Highly recommended.
57+
verify = true
58+
# (Default: true) Create a Git tag for the release (e.g., v0.2.1)? You usually want this.
59+
tag = true
60+
# (Default: false) Sign the release commit with GPG?
61+
sign-commit = true
62+
# (Default: false) Sign the release tag with GPG?
63+
sign-tag = true
64+
# Use 'allow-branch' if you release from other branches. Check defaults if needed.
65+
allow-branch = ["main"]
66+
5067
[dev-dependencies]
5168
tokio-test = "0.4"
5269
serial_test = "3.1"

0 commit comments

Comments
 (0)