C.38 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.39: 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.38.1 Example

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