MINOR Creating release archives in parent folder by default, to avoid archiving the archive by accident

This commit is contained in:
Ingo Schommer 2011-10-18 16:31:04 +02:00
parent ff301f9ea9
commit 48649d6640

View File

@ -146,7 +146,7 @@ Options:
<if> <if>
<equals arg1="${archivetype}" arg2="tar.gz" casesensitive="false" trim="true"/> <equals arg1="${archivetype}" arg2="tar.gz" casesensitive="false" trim="true"/>
<then> <then>
<tar destfile="${basedir}/${archivefilename}" compression="gzip"> <tar destfile="${basedir}/../${archivefilename}" compression="gzip">
<fileset dir="${tmp}"> <fileset dir="${tmp}">
<include name="**/**" /> <include name="**/**" />
</fileset> </fileset>
@ -158,7 +158,7 @@ Options:
<if> <if>
<equals arg1="${archivetype}" arg2="zip" casesensitive="false" trim="true"/> <equals arg1="${archivetype}" arg2="zip" casesensitive="false" trim="true"/>
<then> <then>
<zip destfile="${basedir}/${archivefilename}"> <zip destfile="${basedir}/../${archivefilename}">
<fileset dir="${tmp}"> <fileset dir="${tmp}">
<include name="**/**" /> <include name="**/**" />
</fileset> </fileset>