Refactor some Robo code
This commit is contained in:
parent
bd2b72721f
commit
2d1d69a1f1
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue