diff --git a/RoboFile.php b/RoboFile.php index ca314af12e..f914f1ce10 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -564,6 +564,11 @@ class RoboFile extends \Robo\Tasks { if (strlen(trim($git_status->getMessage())) > 0) { throw new \Exception('Please make sure your working directory is clean before running release.'); } + $this->taskGitStack() + ->stopOnFail() + ->checkout('master') + ->pull() + ->run(); } public function releasePublish($version = null) {