private function getTagDate($tagName)
    {
        /** @var \Platformsh\Cli\Service\Git $git */
        $git = $this->getService('git');
        $date = $git->execute(['log', '-1', '--format=%aI', 'refs/tags/' . $tagName]);

        return is_string($date) ? strtotime(trim($date)) : false;
    }
private function getTagDate($tagName)
    {
        /** @var \Platformsh\Cli\Service\Git $git */
        $git = $this->getService('git');
        $date = $git->execute(['log', '-1', '--format=%aI', 'refs/tags/' . $tagName]);

        return is_string($date) ? strtotime(trim($date)) : false;
    }
private function getTagDate ( $ tagName ) { /** @var \Platformsh\Cli\Service\Git $git */ $ git = $ this -> getService ( 'git' ) ; $ date = $ git -> execute ( [ 'log' , '-1' , '--format=%aI' , 'refs/tags/' . $ tagName ] ) ; return is_string ( $ date ) ? strtotime ( trim ( $ date ) ) : false ; }
Returns the commit date associated with a tag.

@param string $tagName

@return int|false
Returns the commit date associated with a tag .