Change logic of release next version

Premium should have the same minor version like free when is released.
Free will be released only with a patch version when premium branch
doesn't exist.
We assume that premium isn't released when branch doesn't exist.
[MAILPOET-3152]
This commit is contained in:
Jan Lysý
2020-10-07 16:52:57 +02:00
committed by Pavel Dohnal
parent 050bd93548
commit b7fde9dd93
4 changed files with 42 additions and 29 deletions

View File

@ -953,6 +953,7 @@ class RoboFile extends \Robo\Tasks {
protected function getReleaseVersionController() {
return new \MailPoetTasks\Release\ReleaseVersionController(
$this->createJiraController(),
$this->createGitHubController(),
\MailPoetTasks\Release\JiraController::PROJECT_MAILPOET
);
}