mageekguy\atoum\scripts\git\pusher::tagStableVersion PHP 메소드

tagStableVersion() 개인적인 메소드

private tagStableVersion ( $tag )
    private function tagStableVersion($tag)
    {
        $this->tagSrcWith($tag, true);
        try {
            $this->git->addAllAndCommit('Set version to ' . $tag . '.');
        } catch (\exception $exception) {
            $this->writeError($exception->getMessage());
            $this->git->checkoutAllFiles();
            return false;
        }
        return true;
    }