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

Support Ruby-style version numbers #16

Open
perlun opened this issue Sep 11, 2017 · 0 comments
Open

Support Ruby-style version numbers #16

perlun opened this issue Sep 11, 2017 · 0 comments

Comments

@perlun
Copy link
Owner

perlun commented Sep 11, 2017

Sadly, Rubygems does not support Semantic Versioning. This means that you often use version strings like this:

  • v1.0.0.beta.0
  • v1.0.0.beta.1
  • v1.0.0.beta.2
  • v1.0.0.beta.3.1

..etc. Basically, it looks very similar to a SemVer string, but sadly, because of technical constraints, a proper SemVer prerelease version is not allowed as a Rubygems version identifier.

This is very unfortunate. However, it is life. It would be useful if changelog-rs would understand that these are in fact "valid SemVer prereleases". Probably by deducting that we have an "x.y.z.something" and convert that to a valid SemVer string or something... It is a kludge and a hack, but a useful hack.

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

No branches or pull requests

1 participant