Automatically generate missing image version
If the configuration does not specify version for images or live media, Pungi will create a default value based on `release_version`. If label is used for the compose, the milestone from it will be appended to the version (unless it's RC). This change is backwards compatible: nothing changes when version is set in configuration. If the version was missing before, building the artifacts would fail. With this patch, default values will be supplied. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
5534fda192
commit
223a015898
11 changed files with 141 additions and 16 deletions
|
|
@ -810,14 +810,17 @@ Target is specified by these settings. For live images refer to ``live_target``.
|
|||
* ``live_media_target``
|
||||
* ``image_build_target``
|
||||
|
||||
Version is specified by these options.
|
||||
.. _auto_version:
|
||||
|
||||
Version is specified by these options. If no version is set, a default value
|
||||
will be provided based on product version. If label is used (and is not
|
||||
``RC``), the milestone will be appended to the version with an underscore.
|
||||
|
||||
* ``global_version`` -- global fallback setting
|
||||
* ``live_media_version``
|
||||
* ``image_build_version``
|
||||
* ``live_images_version``
|
||||
|
||||
|
||||
.. _auto_release:
|
||||
|
||||
Release is specified by these options. If set explicitly to ``None``, a value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue