zafarkhaja/jsemver

Get internal version of jsemver itself

tresf opened this issue · 1 comments

tresf commented

Can you please provide a method to fetch version information (of any sort, String, Version, etc) from (this) jsemver package? Some libraries store this in the MANIFEST.MF, others offer APIs to fetch it.

At time of writing this, the only way to calculate this information is to parse it from the JAR filename itself, or to obtain the source code and parse it from CHANGELOG.md or README.md

P.S. Thank you for this wonderful library. :)

Hello Tres!

Added implementation entries to the MANIFEST

Implementation-Title: Java SemVer
Implementation-Version: 0.10.0-SNAPSHOT

And there's also a pom.properties file with the artifact coordinates

artifactId=java-semver
groupId=com.github.zafarkhaja
version=0.10.0-SNAPSHOT

Sorry for the delay and thank you for your contribution!