fix the release validation issue
This commit is contained in:
parent
d11310b413
commit
f3c99c3d5f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Release(Validateable):
|
||||||
)
|
)
|
||||||
if self.version:
|
if self.version:
|
||||||
result += self.version.validate()
|
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")
|
result += self.__validate_is_not_empty__("release_current_branch")
|
||||||
if (
|
if (
|
||||||
self.release_current_branch is not None
|
self.release_current_branch is not None
|
||||||
|
|
Loading…
Reference in a new issue