C.30 HgArchiveTask

Create an unversioned archive of a Mercurial repository revision. This is available for PHP 5.4 and higher.

Table C.31: Attributes

NameTypeDescriptionDefaultRequired
destinationStringName of archive to create.n/aYes
revisionStringRevision to distribute in the archive.n/aNo

C.30.1 Example

<property name="version" value="v0_1_2"/>
<hgarchive destination="${version}.zip" />
<hgarchive destination="${version}.tgz" />