Skip to content

Commit 58cf3d9

Browse files
committed
build: replace cargo-release with cargo-workspace
It handles dev dependencies in releases better.
1 parent dea4847 commit 58cf3d9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,5 @@ coverage_codecov_report = [
110110
]
111111
llvm-cov = ["bin", "cargo-llvm-cov"]
112112
nextest = ["bin", "cargo-nextest"]
113-
release = ["bin", "cargo-release"]
114113
semver-checks = ["bin", "cargo-semver-checks"]
114+
workspaces = ["bin", "cargo-workspaces"]

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ solana-transaction-status-wasm = { path = "forks/solana-transaction-status-wasm"
153153
[workspace.metadata.bin]
154154
cargo-llvm-cov = { version = "0.6.21" }
155155
cargo-nextest = { version = "0.9.111" }
156-
cargo-release = { version = "0.25.20" }
157156
cargo-semver-checks = { version = "0.45.0" }
157+
cargo-workspaces = { version = "0.4.1" }
158158
knope = { version = "0.21.5", bins = ["knope"] }
159159
wait-for-them = { version = "0.5.1", bins = ["wait-for-them"] }
160160
wasm-bindgen-cli = { version = "0.2.104", bins = ["wasm-bindgen", "wasm-bindgen-test-runner"] }

knope.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ name = "publish"
100100

101101
[[workflows.steps]]
102102
type = "Command"
103-
command = "cargo release publish --workspace --execute --no-confirm"
103+
command = "cargo workspaces publish --from-git --yes"
104104

105105
[github]
106106
owner = "pina-rs"

0 commit comments

Comments
 (0)