mageekguy\atoum\scripts\git\pusher::tagDevelopmentVersion PHP Method

tagDevelopmentVersion() private method

private tagDevelopmentVersion ( $tag )
    private function tagDevelopmentVersion($tag)
    {
        $this->tagSrcWith($tag);
        try {
            $this->git->addAllAndCommit('Set version to ' . $tag . '.');
        } catch (\exception $exception) {
            $this->writeError($exception->getMessage());
            $this->git->resetHardTo('HEAD~1');
            return false;
        }
        return true;
    }