git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278298 13f79535-47bb-0310-9956-ffa450edef68master
@@ -58,6 +58,7 @@ Note: This document was updated in the context of releasing Ant 1.6. | |||||
On the branch and on the main trunk (*): | On the branch and on the main trunk (*): | ||||
* WHATSNEW | |||||
* xdocs/antnews.xml (Announcement) | * xdocs/antnews.xml (Announcement) | ||||
* xdocs/faq.xml (Ant's history details - not for betas) | * xdocs/faq.xml (Ant's history details - not for betas) | ||||
* xdocs/index.xml (Announcement, latest release details, link to | * xdocs/index.xml (Announcement, latest release details, link to | ||||
@@ -164,7 +165,8 @@ Note: This document was updated in the context of releasing Ant 1.6. | |||||
you'll have to do some house-keeping for the old release: | you'll have to do some house-keeping for the old release: | ||||
* upload the new release files to | * upload the new release files to | ||||
/www/www.apache.org/dist/ant/[source|binary]. | |||||
/www/www.apache.org/dist/ant/[source|binaries]. | |||||
this can be done using the target upload of the build.xml | |||||
* remove the symbolic links from /www/www.apache.org/dist/ant. | * remove the symbolic links from /www/www.apache.org/dist/ant. | ||||
@@ -1319,6 +1319,22 @@ | |||||
description="--> creates the full Apache Ant distribution"> | description="--> creates the full Apache Ant distribution"> | ||||
</target> | </target> | ||||
<!-- | |||||
=================================================================== | |||||
Upload the distribution to cvs.apache.org for final releases | |||||
=================================================================== | |||||
--> | |||||
<target name="upload" description="upload distribution"> | |||||
<fail unless="apache.user" message="set a property apache.user with your apache user"/> | |||||
<fail unless="ssh.passphrase" message="set a property with your ssh passphrase"/> | |||||
<fail unless="ssh.keyfile" message="set a property with your ssh keyfile"/> | |||||
<fail unless="ssh.knownhosts" message="set a property with your ssh knownhosts"/> | |||||
<scp todir="${apache.user}@cvs.apache.org:/www/www.apache.org/dist/ant" keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}" knownhosts="${ssh.knownhosts}"> | |||||
<fileset dir="${dist.base}"> | |||||
<include name="**/*"/> | |||||
</fileset> | |||||
</scp> | |||||
</target> | |||||
<!-- | <!-- | ||||
=================================================================== | =================================================================== | ||||