fix the release validation issue

This commit is contained in:
Michael Jerger 2023-07-07 16:34:36 +02:00
parent d11310b413
commit f3c99c3d5f

View file

@ -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