diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f15eaa3..6d7e372 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: "domaindrivenarchitecture/devops-build:4.0.7" +image: "domaindrivenarchitecture/devops-build:4.0.8" before_script: - python --version diff --git a/build.py b/build.py index 6237a56..eef0f73 100644 --- a/build.py +++ b/build.py @@ -33,7 +33,7 @@ default_task = "dev" name = "ddadevops" MODULE = "not-used" PROJECT_ROOT_PATH = "." -version = "4.0.8-dev1" +version = "4.0.9-dev1" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" description = __doc__ authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] diff --git a/src/main/python/ddadevops/domain/release.py b/src/main/python/ddadevops/domain/release.py index 982f3b0..e8a6db5 100644 --- a/src/main/python/ddadevops/domain/release.py +++ b/src/main/python/ddadevops/domain/release.py @@ -46,7 +46,7 @@ class Release(Validateable): ) if self.version: result += self.version.validate() - if self.release_type is not None: + if self.release_type is not None and self.release_type != ReleaseType.NONE: result += self.__validate_is_not_empty__("release_current_branch") if ( self.release_current_branch is not None