mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-12 23:32:05 +01:00
Fixed issue with daily builds building both dev and app versions.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2146 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
26023650af
commit
627c46b51d
1 changed files with 34 additions and 18 deletions
|
@ -101,24 +101,40 @@
|
|||
<fileset dir="${basedir}/build/resources/releasedocs" includes="*.html" />
|
||||
</copy>
|
||||
<!-- Package -->
|
||||
<zip destfile="${basedir}/release/${release.name}.zip"
|
||||
basedir="${release.dir}/.."
|
||||
includes="${release.name}/**/*.*"
|
||||
/>
|
||||
<tar destfile="${basedir}/release/${release.name}.tar.gz"
|
||||
basedir="${release.dir}/.."
|
||||
includes="${release.name}/**/*.*"
|
||||
compression="gzip"
|
||||
/>
|
||||
<zip destfile="${basedir}/release/${release-dev.name}.zip"
|
||||
basedir="${release-dev.dir}/.."
|
||||
includes="${release-dev.name}/**/*.*"
|
||||
/>
|
||||
<tar destfile="${basedir}/release/${release-dev.name}.tar.gz"
|
||||
basedir="${release-dev.dir}/.."
|
||||
includes="${release-dev.name}/**/*.*"
|
||||
compression="gzip"
|
||||
/>
|
||||
<if>
|
||||
<equals arg1="${dailybuild}" arg2="true" />
|
||||
<then>
|
||||
<zip destfile="${basedir}/release/${release-dev.name}.zip"
|
||||
basedir="${release-dev.dir}/.."
|
||||
includes="${release-dev.name}/**/*.*"
|
||||
/>
|
||||
<tar destfile="${basedir}/release/${release-dev.name}.tar.gz"
|
||||
basedir="${release-dev.dir}/.."
|
||||
includes="${release-dev.name}/**/*.*"
|
||||
compression="gzip"
|
||||
/>
|
||||
</then>
|
||||
<else>
|
||||
<zip destfile="${basedir}/release/${release.name}.zip"
|
||||
basedir="${release.dir}/.."
|
||||
includes="${release.name}/**/*.*"
|
||||
/>
|
||||
<tar destfile="${basedir}/release/${release.name}.tar.gz"
|
||||
basedir="${release.dir}/.."
|
||||
includes="${release.name}/**/*.*"
|
||||
compression="gzip"
|
||||
/>
|
||||
<zip destfile="${basedir}/release/${release-dev.name}.zip"
|
||||
basedir="${release-dev.dir}/.."
|
||||
includes="${release-dev.name}/**/*.*"
|
||||
/>
|
||||
<tar destfile="${basedir}/release/${release-dev.name}.tar.gz"
|
||||
basedir="${release-dev.dir}/.."
|
||||
includes="${release-dev.name}/**/*.*"
|
||||
compression="gzip"
|
||||
/>
|
||||
</else>
|
||||
</if>
|
||||
|
||||
<echo>
|
||||
-----------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue