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 3e694be734
commit 624c6d29c8

View File

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