Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning confusion #407

Closed
SMillerDev opened this issue May 5, 2022 · 5 comments · Fixed by #408
Closed

Versioning confusion #407

SMillerDev opened this issue May 5, 2022 · 5 comments · Fixed by #408

Comments

@SMillerDev
Copy link

Is this project semantically versioned? It seemed that way with earlier versions, but currently 16.0.0 is newer than 16.0.0-1 which is not really following semantic versioning and is quite confusing to people packaging pulp.

CC Homebrew/homebrew-core#100783

@nwolverson
Copy link
Collaborator

Setting aside what the version number should be, it is correct per semver that 16.0.0 is newer than 16.0.0-1 - check https://semver.org/

When major, minor, and patch are equal, a pre-release version has lower precedence than a normal version:

Example: 1.0.0-alpha < 1.0.0.

This is often a confusing aspect of semver for sure

@SMillerDev
Copy link
Author

Wait, that was supposed to indicate that it was a pre-release? While the grammar seems to allow it, the examples on the webpage don't really seem to support usage of numeric-only parts for pre-release identifiers.

@JordanMartinez
Copy link
Contributor

If I released a 16.0.1, would that resolve the homebrew issue?

@SMillerDev
Copy link
Author

It would certainly end confusion about what is supposed to be the last version so that would be much appreciated

@JordanMartinez
Copy link
Contributor

16.0.1 has been published.

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

Successfully merging a pull request may close this issue.

3 participants