composer / semver

Semantic versioning utilities with the addition of version constraints parsing and checking.
MIT License
3.15k stars 76 forks source link

Can't handle version numbers of the form "x.y.z-pre1" #45

Closed djmattyg007 closed 8 years ago

djmattyg007 commented 8 years ago

Could this be handled by making pre an alias of RC? It seems to be the intention wherever I see it used.

alcohol commented 8 years ago

Why not just use rc..? :-)

djmattyg007 commented 8 years ago

I'm parsing version numbers that I didn't create.

Seldaek commented 8 years ago

Sorry but we are not going to support everything someone made up somewhere.. it's just not the goal of this lib. We want semver support and a few other intricacies for historical reasons, but that's about it.