From f3c99c3d5f1e898b353c039fbe5824445660c43f Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 7 Jul 2023 16:34:36 +0200 Subject: [PATCH] fix the release validation issue --- src/main/python/ddadevops/domain/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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