Skip to content

Mixing of alpha and digits in a pre-release field #17043

@epage

Description

@epage

What it does

Identify when a pre-release field has both alpha and digit characters

Advantage

Avoid users messing up sort order, e.g. https://www.reddit.com/r/rust/comments/1tqd97o/rust_1960_is_out/oogstw1/

Drawbacks

Maybe someone legitimately has a pre-release field like this?

Versions have already been released using this scheme. Care will be needed to make sure the ordering is correct if they adjust the syntax used

Example

version = "1.0.0-rc9"

Could be written as:

version = "1.0.0-rc.9"

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-new-lintArea: new lintS-triageStatus: This issue is waiting on initial triage.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions