The first release of ergebnis/version comes with
• Version
• Major
• Minor
• Patch
• PreRelease
• BuildMetaData
components and allows parsing and comparing semantic versions.
Enjoy!
So far, I have implemented
• Version
• Major
• Minor
• Patch
• PreRelease
• BuildMetaData
value objects and provided methods for bumping versions.
Next up, comparing versions!
github.com/ergebnis/version