Skip to content

Conversation

@btel
Copy link

@btel btel commented Jun 8, 2025

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!)

@epage epage added the breaking-change SemVer breaking change label Jun 9, 2025
@epage
Copy link
Collaborator

epage commented Jun 9, 2025

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 epage marked this pull request as draft June 9, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change SemVer breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants