Add command to publish release on JIRA
[MAILPOET-1884]
This commit is contained in:
committed by
Rostislav Wolný
parent
f63733abc5
commit
8b4bf19bdd
@ -662,6 +662,13 @@ class RoboFile extends \Robo\Tasks {
|
||||
$slack_notifier->notify($version['name'], $changelog[1], $version['id']);
|
||||
}
|
||||
|
||||
public function releasePublishJira($version = null) {
|
||||
$version = $this->nextReleaseVersion($version);
|
||||
$jira_controller = $this->createJiraController();
|
||||
$jira_version = $jira_controller->releaseVersion($version);
|
||||
$this->say("JIRA version '$jira_version[name]' was released.");
|
||||
}
|
||||
|
||||
protected function validateVersion($version) {
|
||||
if (!\MailPoetTasks\Release\VersionHelper::validateVersion($version)) {
|
||||
$this->yell('Incorrect version format', 40, 'red');
|
||||
|
Reference in New Issue
Block a user