[erlang-questions] Semantic Versioning 2.0 library - erlsemver

Gleb Peregud gleber.p@REDACTED
Fri Aug 24 19:41:54 CEST 2012


Hello folks!

I am glad to present a Semantic Versioning parsing library which is
compatible with 2.0.0-rc.1 version of SemVer. Feel free to grab it
from:

https://github.com/gleber/erlsemver

or with

git clone http://github.com/gleber/erlsemver.git

README contains examples of usage. Interesting features:
- allows for direct comparison of #semver{} records to determine
version precedence - just by using > and < operators
- supports SemVerTag specification in form of "to_tag/1" and
"from_tag/1" functions
- supports parsing of 'git describe' output and treats it as build version
- has basic unit tests

Thanks for LivePress Inc. for allowing to open source this library!

Cheers,
Gleb

P.S. I am aware of semver library by nebularis, but it targets 1.0
specification and erlsemver was much earlier than semver by nebularis
was announced.



More information about the erlang-questions mailing list