From 5f925edf6668893c96df5117157086ef641a5b44 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Thu, 30 Jun 2022 21:57:49 +0200 Subject: [PATCH] docs(dev): add some tips about new options dataverse.build and dataverse.version #7000 --- doc/sphinx-guides/source/developers/tips.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/sphinx-guides/source/developers/tips.rst b/doc/sphinx-guides/source/developers/tips.rst index 3fff3e76ea8..2b15948bd34 100755 --- a/doc/sphinx-guides/source/developers/tips.rst +++ b/doc/sphinx-guides/source/developers/tips.rst @@ -173,6 +173,13 @@ commit id in your test deployment webpages on the bottom right corner next to th When you prefer manual updates, there is another script, see above: :ref:`custom_build_num_script`. +An alternative to that is using *MicroProfile Config* and set the option ``dataverse.build`` via a system property, +environment variable (``DATAVERSE_BUILD``) or `one of the other config sources +`__. + +You could even override the version itself with the option ``dataverse.version`` in the same way, which is usually +picked up from a build time source. + Sample Data -----------