protected function runTagAction($options)
    {
        $tagName = date('Ymd-His');
        $message = Lang::get('tag_created', date('Y-m-d H:i:s'));

        if (array_key_exists('name', $options)) {
            $tagName = $this->phpci->interpolate($options['name']);
        }

        if (array_key_exists('message', $options)) {
            $message = $this->phpci->interpolate($options['message']);
        }

        $cmd = 'git tag %s -m "%s"';
        return $this->phpci->executeCommand($cmd, $tagName, $message);
    }
protected function runTagAction($options)
    {
        $tagName = date('Ymd-His');
        $message = Lang::get('tag_created', date('Y-m-d H:i:s'));

        if (array_key_exists('name', $options)) {
            $tagName = $this->phpci->interpolate($options['name']);
        }

        if (array_key_exists('message', $options)) {
            $message = $this->phpci->interpolate($options['message']);
        }

        $cmd = 'git tag %s -m "%s"';
        return $this->phpci->executeCommand($cmd, $tagName, $message);
    }
protected function runTagAction ( $ options ) { $ tagName = date ( 'Ymd-His' ) ; $ message = Lang :: get ( 'tag_created' , date ( 'Y-m-d H:i:s' ) ) ; if ( array_key_exists ( 'name' , $ options ) ) { $ tagName = $ this -> phpci -> interpolate ( $ options [ 'name' ] ) ; } if ( array_key_exists ( 'message' , $ options ) ) { $ message = $ this -> phpci -> interpolate ( $ options [ 'message' ] ) ; } $ cmd = 'git tag %s -m "%s"' ; return $ this -> phpci -> executeCommand ( $ cmd , $ tagName , $ message ) ; }
Handle a tag action.
@param $options
@return bool
Handle a tag action .