protected function loadGitInfo()
    {
        // Carregar versao
        $process = new Process('git log --pretty="%H" -n1 HEAD', base_path());
        if ($process->run() != 0)
            throw new \RuntimeException('Can\'t run git log. You must ensure to run compile from git repository clone and that git binary is available.');
        $this->params['package_version'] = trim($process->getOutput());

        // Carregar Data de atualizacao
        $process = new Process('git log -n1 --pretty=%ci HEAD', base_path());
        if ($process->run() != 0)
            throw new \RuntimeException('Can\'t run git log. You must ensure to run compile from git repository clone and that git binary is available.');

        $date = new \DateTime(trim($process->getOutput()));
        $date->setTimezone(new \DateTimeZone('UTC'));
        $this->versionDate = $date->format('Y-m-d H:i:s');
        $this->params['release_date'] = trim($process->getOutput());
    }