crate-ci / cargo-release

Cargo subcommand `release`: everything about releasing a rust crate.
Apache License 2.0
1.33k stars 112 forks source link

bumping dependent crate versions? #688

Open scullionw opened 1 year ago

scullionw commented 1 year ago

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?

epage commented 1 year ago

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

scullionw commented 1 year ago

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!

epage commented 11 months ago

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