From 76ad1fbbc68619d0de7178d2d0e15af2cff0b60b Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Wed, 27 May 2020 15:30:10 -0700 Subject: [PATCH] Publish the phar before publishing the site. --- RoboFile.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);