diff --git a/RoboFile.php b/RoboFile.php index b146a0c93..5999c7049 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -105,6 +105,10 @@ public function release($opts = ['beta' => false]) ->push() ->run(); + if ($stable) { + $this->pharPublish(); + } + $this->publish(); $this->taskGitStack() ->tag($version) @@ -112,7 +116,6 @@ public function release($opts = ['beta' => false]) ->run(); if ($stable) { - $this->pharPublish(); $version = $this->incrementVersion($version) . '-dev'; $this->writeVersion($version);