Skip to content

Commit

Permalink
Adding warnings to blt:release command.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Jan 10, 2017
1 parent 35c6c3e commit 14a90b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Robo/Command/BltInternal.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ public function bltRelease($tag, $github_token)
}

// @todo Check to see if git branch is dirty.
$this->yell("This will destroy any uncommitted work on the current branch. It will also hard reset 8.x and 8.x-release to match the upstream history.");
$this->say("This will do the following:");
$this->say("- <error>Destroy any uncommitted work on the current branch.</error>");
$this->say("- <error>Hard reset 8.x and 8.x-release to match the upstream history.</error>");
$this->say("- Merge 8.x into 8.x-release");
$this->say("- Push 8.x-release to origin");
$this->say("- Create a $tag release in GitHub with release notes");
$continue = $this->confirm("Continue?");

if (!$continue) {
Expand Down

0 comments on commit 14a90b7

Please sign in to comment.