Skip to content

Setting version metadata doesn't preserve the pre-release version #938

Description

@qartik

An example:

❯ cargo set-version -p package -m 11.ge8fe5ff --dry-run
   Upgrading package from 0.1.17-beta.3 to 0.1.17+11.ge8fe5ff
warning: aborting set-version due to dry run
❯ cargo set-version --version
cargo-edit-set-version 0.12.3

I'd imagine the version should change to 0.1.17-beta.3+11.ge8fe5ff. Is this intentional or a bug?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions