cargo-release icon indicating copy to clipboard operation
cargo-release copied to clipboard

bumping dependent crate versions?

Open scullionw opened this issue 2 years ago • 3 comments

Say I have a crate B that depends on A:

if i run cargo release minor --package A, it correctly updates the dependencies part of B's Cargo.toml, but it doesn't bump and publish B's version. Is there a way to do this that I am missing?

scullionw avatar Jun 21 '23 21:06 scullionw

We currently do not support this in part because we do not know what version to release B as.

For applying minor to all of them, #298 is somewhat related

epage avatar Jun 22 '23 13:06 epage

i currently use release-plz for this and hoped to just move everything to cargo release but I understand that picking the version is not straightforward. Just an idea but maybe a prompt for it could provide some help?

anyways thanks for the awesome crate!

scullionw avatar Jun 22 '23 14:06 scullionw

I was recently evaluating release-plz for a project and this bugged me. See https://github.com/MarcoIeni/release-plz/discussions/1019

https://github.com/epage/epage.github.io/issues/23 explores a way of solving this problem

epage avatar Nov 01 '23 21:11 epage