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
1 changed files with 2 additions and 2 deletions

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>