1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

New upload-dist ant task to upload new release files

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@835 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-11-16 00:02:58 +00:00
parent 1079731fe9
commit dd501ac44b

View File

@ -286,4 +286,21 @@
<fileset dir="target/site"/>
</scp>
</target>
<target name="upload-dist" depends="dist">
<mkdir dir="dist/${version}"/>
<move todir="dist/${version}">
<fileset dir="dist">
<include name="*${version}-*"/>
</fileset>
</move>
<scp todir="${username},davmail@frs.sourceforge.net:/home/frs/project/d/da/davmail/davmail"
keyfile="${keyfile}" passphrase="${passphrase}" verbose="true" trust="true">
<fileset dir="dist">
<include name="${version}/*"/>
</fileset>
</scp>
</target>
</project>