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

Allow publishing a subset of workspace without bumping

Open cBournhonesque opened this issue 4 months ago • 1 comments

My usecase is:

  • I have a workspace with many crates
  • I manually update the version in cargo.toml to the exact version I want, so I run with -b keep -d keep
  • The dry-run update doesn't work for me because my crates depend on each other, so the dry-run fails with crate A depends on crate B where <NEW_VERSION> does not exist
  • Thus I just do a --execute run, but sometimes there is a problem and the run stops in the middle after having published a few crates

If I re-run the command, it fails saying that <NEW_VERSION> already exists for the crates that were successfully uploaded.

What I want is to just publish the rest of the crates of the workspace, and just skip the ones that were already successfully uploaded. I don't think that's a niche ask

cBournhonesque avatar Aug 12 '25 04:08 cBournhonesque

Thanks for reporting!

I recommend to try to use the more common tools like cargo release as they are likely to have much better support for cargo features. (CSR merely exists to serve gitoxide)

Byron avatar Aug 12 '25 17:08 Byron