diff --git a/src/Command/ReleaseCommand.php b/src/Command/ReleaseCommand.php index da6c588..7f4132c 100644 --- a/src/Command/ReleaseCommand.php +++ b/src/Command/ReleaseCommand.php @@ -124,10 +124,6 @@ protected function getCurrentVersion(Context $context): string try { $currentVersion = $context->versionPersister->getCurrentVersion($context); } catch (NoReleaseFoundException $e) { - if (false === $this->informationCollector->getValue(self::CONFIRM_FIRST)) { - throw $e; - } - $currentVersion = $context->getInitialVersion(); }