BUGFIX: Make archive task run if providing archivetype via phing -D argument

This commit is contained in:
Hamish Friedlander 2011-10-29 12:08:22 +13:00
parent 71d71dc3b6
commit 0e7ad4b5ce
1 changed files with 2 additions and 2 deletions

View File

@ -267,14 +267,14 @@ Options:
</then>
<else>
<input propertyName="archivename" defaultValue="SilverStripe-vX.Y.Z" promptChar=":">Please enter a name for the archive (without extension)</input>
<property name="archivefilename" value="${archivename}.${archivetype}" />
<echo msg="Creating '${archivename}' archive"/>
</else>
</if>
<property name="archivefilename" value="${archivename}.${archivetype}" />
<phingCall target="archiveTask" />
<echo msg="Created archive in: ${basedir}/${archivename}" />
</target>
<!-- Load modules where sensitive dependency exists -->