pg2k4j icon indicating copy to clipboard operation
pg2k4j copied to clipboard

Using jvm properties to simplify versioning logic

Open Baccata opened this issue 7 years ago • 1 comments

The versioning logic is currently a bit awkward, with the CI creating new branches/committing/pushing on its own for the sole purpose of versioning.

A simpler approach would be to use jvm properties in order to dynamically resolve the version using some logic around git describe.

You could imagine providing a build script which would essentially redirect the args it gets called with to mvn -Drevision={insert_dynamic_version}, making the version easily reproducible/inspectable locally.

Baccata avatar Nov 01 '18 16:11 Baccata

+1 for this

markglh avatar Nov 01 '18 16:11 markglh