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

Add metadata without bumping

Open btel opened this issue 7 months ago • 1 comments

I am using cargo-edit to add metadata tags to my version string. For the moment, I am having trouble with adding metadata to version with pre-release tags (ex. 0.1.0-dev). cargo set-version -m meta will remove the pre-release and replace it with the meta tag (0.1.0+meta).

This MR will fix this behaviour to respect the dev tag, so the correct version will be 0.1.0-dev+meta.

Let me know what you think! (and thanks for making cargo-edit!)

btel avatar Jun 08 '25 21:06 btel

The relevant issue for this is #938 and the design needs to be worked out there (and how to handle if this is a breaking change) before moving on to a PR.

epage avatar Jun 09 '25 14:06 epage