process: add release.compareVersion(str) functionality
This overloads release.compareVersion
by also accepting a single
string argument to compare the version. It also fixes a former bug
by comparing the pre-release tags properly.
It also adds a stricter input validation to throw on negative values.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines