config: Deprecate release_is_layered option
Fixes: https://pagure.io/pungi/issue/977 Merges: https://pagure.io/pungi/pull-request/1204 Signed-off-by: Haibo Lin <hlin@redhat.com>
This commit is contained in:
parent
4e5f74b78d
commit
ce066707c1
15 changed files with 66 additions and 64 deletions
|
|
@ -444,7 +444,7 @@ def run_compose(compose, create_latest_link=True, latest_link_status=None):
|
|||
symlink_name = "latest-%s-%s" % (compose.conf["release_short"], compose.conf["release_version"])
|
||||
else:
|
||||
symlink_name = "latest-%s-%s" % (compose.conf["release_short"], ".".join(compose.conf["release_version"].split(".")[:-1]))
|
||||
if compose.conf["release_is_layered"]:
|
||||
if compose.conf.get("base_product_name", ""):
|
||||
symlink_name += "-%s-%s" % (compose.conf["base_product_short"], compose.conf["base_product_version"])
|
||||
symlink = os.path.join(compose.topdir, "..", symlink_name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue