Skip to content

Enhance cargo set-command to support custom pre-release identifiers #929

@c12i

Description

@c12i

The cargo set-command currently supports bumping pre-releases but is limited to specific values (rc, beta, alpha). However, the SemVer specification does not restrict pre-release identifiers to these specific values.

When using cargo set-command to bump pre-releases, only "rc", "beta", and "alpha" are accepted as valid identifiers.

I would like to propose allowing of custom pre-release identifiers beyond the current hardcoded set, making the command fully compliant with the SemVer specification which allows any valid alphanumeric identifier. I am working on a project where dev is used as an identifier i.e x.x.x-dev.x

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions