Refactor some Robo code

This commit is contained in:
Pierre Rudloff 2020-11-16 20:45:49 +01:00
parent bd2b72721f
commit 2d1d69a1f1
1 changed files with 1 additions and 2 deletions

View File

@ -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();