Refactor some Robo code

This commit is contained in:
Pierre Rudloff 2020-11-16 20:45:49 +01:00
parent bd2b72721f
commit 2d1d69a1f1

View file

@ -28,11 +28,10 @@ class ReleaseCommand extends Tasks
$result = $gitTask $result = $gitTask
->arg('describe') ->arg('describe')
->run(); ->run();
$result->provideOutputdata();
$tmpDir = $this->_tmpDir(); $tmpDir = $this->_tmpDir();
$filename = 'alltube-' . trim((string)$result->getOutputData()) . '.zip'; $filename = 'alltube-' . trim((string)$result->getMessage()) . '.zip';
/** @var FilesystemStack $rmTask */ /** @var FilesystemStack $rmTask */
$rmTask = $this->taskFilesystemStack(); $rmTask = $this->taskFilesystemStack();