Skip to content

Commit

Permalink
Fix releasing first version
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jun 5, 2024
1 parent 3cd14bb commit fac629e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Command/ReleaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit fac629e

Please sign in to comment.