public function getCurrentTag() : string
    {
        $cmd    = new GetCurrentTag($this->repo->getRoot());
        $result = $this->runner->run($cmd);

        return trim($result->getStdOut());
    }
public function getCurrentTag() : string
    {
        $cmd    = new GetCurrentTag($this->repo->getRoot());
        $result = $this->runner->run($cmd);

        return trim($result->getStdOut());
    }
public function getCurrentTag ( ) : string { $ cmd = new GetCurrentTag ( $ this -> repo -> getRoot ( ) ) ; $ result = $ this -> runner -> run ( $ cmd ) ; return trim ( $ result -> getStdOut ( ) ) ; }
Returns the tag tag of the current commit

@return string
Returns the tag tag of the current commit