fix build

This commit is contained in:
Michael Jerger 2023-07-14 12:43:08 +02:00
parent 771ffe5229
commit cb48674864

View file

@ -11,9 +11,9 @@ version = "4.0.15-dev"
@init
def initialize(project):
image_version = version
if "dev" in image_version:
image_version += datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
image_tag = version
if "dev" in image_tag:
image_tag += datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
input = {
"name": name,
@ -23,7 +23,7 @@ def initialize(project):
"build_types": ["IMAGE"],
"mixin_types": [],
'image_naming': "NAME_AND_MODULE",
"image_version": f"{image_version}",
"image_tag": f"{image_tag}",
}
project.build_depends_on("ddadevops>=4.0.0")