No reason to hide "git describe" output

This commit is contained in:
Pierre Rudloff 2020-06-08 23:42:37 +02:00
parent e777f51490
commit 190238ab96
1 changed files with 1 additions and 2 deletions

View File

@ -17,10 +17,9 @@ class RoboFile extends Tasks
{ {
$result = $this->taskExec('git') $result = $this->taskExec('git')
->args('describe') ->args('describe')
->printOutput(false)
->run(); ->run();
$result->provideOutputdata(); $result->provideOutputdata();
$tag = $result->getOutputData(); $tag = trim($result->getOutputData());
// We don't want the whole vendor directory. // We don't want the whole vendor directory.
$finder = new Finder(); $finder = new Finder();