Commit Graph

6 Commits

Author SHA1 Message Date
nathan
e1a8278cd5 Added exceptions for minor version number. A single major version number can be parsed, but will not be output in toString(). 2020-08-06 15:09:23 +02:00
nathan
447cdfb68e Added additional exception to parsing for SEMVER, so build information can be following the version numbers using '.'.
Not all projects follow semver in their version information, and if we are to use any sort of enforcable semantics for versioning, we have to permit PARSING more relaxed formats (using sensible defaults).  When *writing* this information, it will be compatible and correct
2020-08-05 02:36:49 +02:00
nathan
994e3995b1 Added tests to make sure patch info is removed/kept appropriately 2018-08-05 15:38:37 +02:00
nathan
2c6aca86e3 Updated tests to also test for version string path info exclusion when incrementing major/minor 2018-08-05 15:34:36 +02:00
nathan
ef011766fa Refactored package name from semver -> version 2018-08-05 15:10:01 +02:00
nathan
5e7929426e Code cleanup and refactored package name. Patch information is now optional 2018-08-03 05:09:40 +02:00