Skip to content

Commit

Permalink
fix: force autobump on an extra release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérémy Cabantous committed Oct 24, 2022
1 parent 854599b commit ce5d806
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,13 @@ public function generate(string $root, InputInterface $input, SymfonyStyle $outp
$bumpRelease = SemanticVersion::PATCH;
} elseif ($preRelease) {
$bumpRelease = SemanticVersion::RC;
$autoBump = !$this->config->skipBump();
} elseif ($betaRelease) {
$bumpRelease = SemanticVersion::BETA;
$autoBump = !$this->config->skipBump();
} elseif ($alphaRelease) {
$bumpRelease = SemanticVersion::ALPHA;
$autoBump = !$this->config->skipBump();
} else {
$autoBump = !$this->config->skipBump();
}
Expand Down

0 comments on commit ce5d806

Please sign in to comment.