zafarkhaja / jsemver

Java implementation of the SemVer Specification
MIT License
429 stars 82 forks source link

Optionally leave out patch version and only use major.minor #29

Closed levsa closed 1 year ago

levsa commented 8 years ago

It would be useful if patch version was optional, i.e. versions could be 1.3, 1.3-RC1 etc. I'm using the axion-release-plugin which uses jsemver, and this pull request making patch version optional greatly simplifies configuration of release versions, i.e. serializing/deserializing to take care of adding/removing ".0".

zafarkhaja commented 1 year ago

Hello Levon, I hope you're doing well!

I'm sorry it took me this long to get back to you.

I appreciate you taking the time and effort to contribute. I totally understand the use case and the need for this functionality but unfortunately, as I've said on numerous occasions elsewhere, I'm not willing to deviate from the Specification in the default parser. I still am planning to support this in some future release, but with a separate parser.

Have a nice day,