Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow introspection of version number
This patchset stores the auto-computed version number for PuppetDB: * on-disk, inside of a generated JAR file * in-memory, in `com.puppetlabs.puppetdb.cli.services/version` This is done by modifying our build file slightly to add a custom metadata field to build outputs, and adding a func that can parse that field back into memory. Signed-off-by: Deepak Giridharagopal <deepak@puppetlabs.com>
- Loading branch information
1 parent
72e483a
commit 6ec3c01
Showing
3 changed files
with
47 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters