Gc\Core\Updater\Adapter\Git::update PHP Method

update() public method

Update
public update ( ) : boolean
return boolean
    public function update()
    {
        putenv('PATH=' . getenv('PATH') . ':' . GC_APPLICATION_PATH);
        exec('git fetch --tags 2>&1', $output);
        $this->addMessage(implode(PHP_EOL, $output));
        return true;
    }