Add "build_and_upload_zero_installation_download" target in site.ant

This commit is contained in:
peterdell 2020-10-16 21:58:44 +02:00
parent 82d2cce80f
commit 10e05fe538

View File

@ -3,6 +3,10 @@
The result can then be uploaded with "upload_all".
If the daily build is tested and OK, the target "publish_daily_to_stable_and_main" copies
it to the current main version field and the default update site folder and then triggers "upload_all".
If the stable site as been updated, the zero installation download can be update via "Check for Updates".
After the update, the old plugin version should be deleted from the "C:\jac\wudsn\Tools\IDE\Eclipse\4.x.x-win32-x86_64\eclipse\plugins" folder.
Then the new zero installation download can be created and updated with the "build_and_upload_zero_installation_download" target.
-->
<project name="Site" basedir="." default="build_daily">
@ -66,13 +70,19 @@
<antcall target="upload_all" />
<echo>Done.</echo>
</target>
<target name="upload_all">
<echo>Uploading builds from ${basedir}.</echo>
<exec executable="C:\jac\system\Windows\Tools\NET\WinSCP\WinSCP.com">
<exec executable="C:\jac\system\Windows\Tools\NET\WinSCP\WinSCP.com" failonerror="true">
<arg value="/script=site.scp"/>
</exec>
<echo>Upload completed.</echo>
</target>
<target name="build_and_upload_zero_installation_download">
<exec executable="C:\jac\wudsn\Tools\WWW\build.bat" failonerror="true">
</exec>
</target>
</project>