classes/phing/tasks/ext/git/GitTagTask.php

\GitTagTask

Wrapper around git-tag

Use {@link Project#createTask} to register a new Task.

Extends from
\GitBaseTask
see
\VersionControl_Git
author
Evan Kaufman
author
Victor Farazdagi
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.ext.git
since
2.4.5
version
$Id: GitTagTask.php 1052 2011-03-02 20:33:54Z victor $

Properties

Propertyprivateboolean  $annotate= 'false'

Make unsigned, annotated tag object. See -a of git-tag

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $commit= ''

<commit> argument to git-tag

Details
Type
string
Propertyprivatestring  $contains= ''

Only list tags containing specified commit. See --contains of git-tag

Details
Type
string
Propertyprivateboolean  $delete= 'false'

Delete existing tags with given names. See -d of git-tag

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $file= ''

Take tag message from given file. See -F of git-tag

Details
Type
string
Propertyprivatestring  $keySign= ''

Make GPG-signed tag, using given key. See -u of git-tag

Details
Type
string
Propertyprivateboolean  $list= 'false'

List tags with names matching given pattern. See -l of git-tag

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $message= ''

Use given tag message. See -m of git-tag

Details
Type
string
Propertyprivatestring  $name= ''

<tagname> argument to git-tag

Details
Type
string
Propertyprivateint  $num= ''

<num> specifies how many lines from the annotation, if any, are printed when using -l. See -n of git-tag

Details
Type
int
Propertyprivatestring  $object= ''

<object> argument to git-tag

Details
Type
string
Propertyprivatestring  $outputProperty= ''

Property name to set with output value from git-tag

Details
Type
string
Propertyprivatestring  $pattern= ''

<pattern> argument to git-tag

Details
Type
string
Propertyprivateboolean  $replace= 'false'

Replace existing tag with given name. See -f of git-tag

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $sign= 'false'

Make GPG-signed tag. See -s of git-tag

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $verify= 'false'

Verify gpg signature of given tag names. See -v of git-tag

Default valuefalseDetails
Type
boolean

Methods

methodpublic  getAnnotate( ) :
methodpublic  getCommit( ) :
methodpublic  getContains( ) :
methodpublic  getDelete( ) :
methodpublic  getFile( ) :
methodpublic  getKeySign( ) :
methodpublic  getList( ) :
methodpublic  getMessage( ) :
methodpublic  getName( ) :
methodpublic  getNum( ) :
methodpublic  getObject( ) :
methodpublic  getPattern( ) :
methodpublic  getReplace( ) :
methodpublic  getSign( ) :
methodpublic  getVerify( ) :
methodpublic  isAnnotate( ) :
methodpublic  isDelete( ) :
methodpublic  isList( ) :
methodpublic  isReplace( ) :
methodpublic  isSign( ) :
methodpublic  isVerify( ) :
methodpublic  main( ) :
The main entry point for the task
methodpublic  setAnnotate(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setCommit(  $commit ) :
Parameters
Name Type Description
$commit
methodpublic  setContains(  $commit ) :
Parameters
Name Type Description
$commit
methodpublic  setDelete(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setFile(  $file ) :
Parameters
Name Type Description
$file
methodpublic  setForce(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setKeySign(  $keyId ) :
Parameters
Name Type Description
$keyId
methodpublic  setList(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setMessage(  $msg ) :
Parameters
Name Type Description
$msg
methodpublic  setName(  $name ) :
Parameters
Name Type Description
$name
methodpublic  setNum(  $num ) :
Parameters
Name Type Description
$num
methodpublic  setObject(  $object ) :
Parameters
Name Type Description
$object
methodpublic  setOutputProperty(  $prop ) :
Parameters
Name Type Description
$prop
methodpublic  setPattern(  $pattern ) :
Parameters
Name Type Description
$pattern
methodpublic  setReplace(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setSign(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setVerify(  $flag ) :
Parameters
Name Type Description
$flag
Documentation was generated by DocBlox 0.13.1.