From 2d1d69a1f16d874760d0cb4564dfdbe4490a63d2 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 16 Nov 2020 20:45:49 +0100 Subject: [PATCH] Refactor some Robo code --- classes/Robo/Plugin/Commands/ReleaseCommand.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/Robo/Plugin/Commands/ReleaseCommand.php b/classes/Robo/Plugin/Commands/ReleaseCommand.php index 869b44a..0edd71d 100644 --- a/classes/Robo/Plugin/Commands/ReleaseCommand.php +++ b/classes/Robo/Plugin/Commands/ReleaseCommand.php @@ -28,11 +28,10 @@ class ReleaseCommand extends Tasks $result = $gitTask ->arg('describe') ->run(); - $result->provideOutputdata(); $tmpDir = $this->_tmpDir(); - $filename = 'alltube-' . trim((string)$result->getOutputData()) . '.zip'; + $filename = 'alltube-' . trim((string)$result->getMessage()) . '.zip'; /** @var FilesystemStack $rmTask */ $rmTask = $this->taskFilesystemStack();