--- a/common/build.postbuild.xml Tue Sep 21 16:22:39 2010 +0100
+++ b/common/build.postbuild.xml Wed Sep 22 17:28:09 2010 +0100
@@ -990,6 +990,15 @@
</copy>
<mkdir dir="${publish.dir}/ats_reports"/>
<copy file="${sf.common.config.dir}/tools/ats/report_dummy.html" tofile="${publish.dir}/ats_reports/index.html" failonerror="false"/>
+ <if>
+ <istrue value="${sf.spec.publish.release.zips.enable}" />
+ <then>
+ <mkdir dir="${sf.spec.publish.release.zips.location}/${build.id}"/>
+ <copy todir="${sf.spec.publish.release.zips.location}/${build.id}" preservelastmodified="true" failonerror="false">
+ <fileset dir="${build.output.dir}/zips/release/"><include name="*.zip"/></fileset>
+ </copy>
+ </then>
+ </if>
</target>
<!-- TODO: Make this work for package builds once we have sysmodel story worked out -->