C.34 HgTagTask

Add a tag for the current or specified revision of the local Mercurial repository. This is available for PHP 5.4 and higher.

Table C.35: Attributes

messageStringMessage to add/edit tag with.n/aNo
nameStringName of tag.n/aYes
repositoryStringPath to Mercurial repository.n/aNo
revisionStringRevision to tag.n/aNo
userStringUser to record as the committer.n/aNo

C.34.1 Example

<hgtag user="phingbot" message="tagging new release" name="v0.1.2"/>