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 99f7186 commit ab93da8
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 ab93da8

Please sign in to comment.