Skip to content

Use proper Semantic Versioning for dev versions #17330

@martinholters

Description

@martinholters

According to Semantic Versioning 2.0.0, the part after a + in a version number is build metadata that "SHOULD be ignored when determining version precedence". But of course, if we want to compare "0.5.0-dev+1234" and "0.5.0-dev+2222", we definitely want to consider the part after the +. The problem here is that this dev version counter is not build metadata, it is part of the pre-release version information which should be between the - and the +. So I propose to switch the versioning scheme to "0.6.0-dev.1234", starting with the 0.6 development cycle. Admittedly, I have no clue how much trouble this change would mean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions