Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bumping dependent crate versions? #688

Open
scullionw opened this issue Jun 21, 2023 · 3 comments
Open

bumping dependent crate versions? #688

scullionw opened this issue Jun 21, 2023 · 3 comments

Comments

@scullionw
Copy link

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
Copy link
Collaborator

epage commented Jun 22, 2023

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
Copy link
Author

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
Copy link
Collaborator

epage commented Nov 1, 2023

I was recently evaluating release-plz for a project and this bugged me. See MarcoIeni/release-plz#1019

epage/epage.github.io#23 explores a way of solving this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants