mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR Prompting for version info in archive task
This commit is contained in:
parent
1b8d1bebc7
commit
812d904935
@ -183,6 +183,12 @@ Options:
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="archive" if="basedir" description="Creates a gzip archive from the current folder (removes any version control files)">
|
<target name="archive" if="basedir" description="Creates a gzip archive from the current folder (removes any version control files)">
|
||||||
|
|
||||||
|
<if>
|
||||||
|
<not><isset property="version"/></not>
|
||||||
|
<then><input propertyName="version" defaultValue="x.y.z" promptChar=":">Please choose a version</input></then>
|
||||||
|
</if>
|
||||||
|
|
||||||
<if>
|
<if>
|
||||||
<isset property="archivetype"/>
|
<isset property="archivetype"/>
|
||||||
<then>
|
<then>
|
||||||
@ -200,7 +206,7 @@ Options:
|
|||||||
<echo msg="Creating '${archivename}' archive"/>
|
<echo msg="Creating '${archivename}' archive"/>
|
||||||
</then>
|
</then>
|
||||||
<else>
|
<else>
|
||||||
<input propertyName="archivename" defaultValue="SilverStripe-vX.Y.Z" promptChar=":">Please enter a name for the archive (without extension)</input>
|
<input propertyName="archivename" defaultValue="SilverStripe-v${version}" promptChar=":">Please enter a name for the archive (without extension)</input>
|
||||||
<echo msg="Creating '${archivename}' archive"/>
|
<echo msg="Creating '${archivename}' archive"/>
|
||||||
</else>
|
</else>
|
||||||
</if>
|
</if>
|
||||||
|
Loading…
Reference in New Issue
Block a user