diff --git a/src/Domain/Value/NextRelease.php b/src/Domain/Value/NextRelease.php index 1655fc0ba..67e9529e5 100644 --- a/src/Domain/Value/NextRelease.php +++ b/src/Domain/Value/NextRelease.php @@ -195,6 +195,10 @@ public function stability(): Stability return $pr->stability()->toString(); }, $this->pullRequests); + if (\in_array(Stability::major()->toString(), $stabilities, true)) { + return Stability::major(); + } + if (\in_array(Stability::minor()->toString(), $stabilities, true)) { return Stability::minor(); }