MINOR Writing version information to silvestripe_version files in archive task

This commit is contained in:
Ingo Schommer 2012-02-01 18:15:43 +01:00
parent 812d904935
commit 44409c75ac
1 changed files with 4 additions and 0 deletions

View File

@ -251,6 +251,10 @@ Options:
<move file="${tmp}/${archivename}/themes/blackcandy/blackcandy_calendar" todir="${tmp}/${archivename}/themes" haltonerror='false' />
<move file="${tmp}/${archivename}/themes/blackcandy/blackcandy" todir="${tmp}/${archivename}/themes" haltonerror='false' />
<!-- Write version info to the core folders (shouldn't be in version control) -->
<echo msg="${version}" file="${tmp}/${archivename}/sapphire/silverstripe_version" />
<echo msg="${version}" file="${tmp}/${archivename}/cms/silverstripe_version" />
<!-- create tar archive -->
<if>
<equals arg1="${archivetype}" arg2="tar.gz" casesensitive="false" trim="true"/>