* hack to fix upload order

This commit is contained in:
Reinhard Pointner 2015-11-14 19:25:06 +00:00
parent 65542919fa
commit eefebe52ac
1 changed files with 8 additions and 2 deletions

View File

@ -774,7 +774,7 @@
<checksum algorithm="SHA-256" pattern="{0} {1}" todir="${dir.cache}/sha">
<fileset dir="${dir.release}" />
</checksum>
<concat destfile="${dir.release}/readme.md" overwrite="true" eol="unix" outputencoding="UTF-8">
<concat destfile="${dir.release}/README.md" overwrite="true" eol="unix" outputencoding="UTF-8">
<fileset file="${dir.installer}/ant/digest.header.md" />
<fileset dir="${dir.cache}/sha" />
<fileset file="${dir.installer}/ant/digest.footer.md" />
@ -783,9 +783,15 @@
<target name="deploy-release" depends="stage-release, login" description="Upload to SourceForge.net FRS">
<scp todir="${sf.user}:${sf.password}@${frs.release}" trust="yes" verbose="true" sftp="true">
<!-- make sure to upload README.md first -->
<fileset dir="${basedir.release}" includes="**/README.md">
<date datetime="${today}" pattern="yyyy-MM-dd" when="after" />
</fileset>
</scp>
<scp todir="${sf.user}:${sf.password}@${frs.release}" trust="yes" verbose="true" sftp="true">
<!-- upload starting with parent folders so scp will create the release folder for us -->
<fileset dir="${basedir.release}" casesensitive="false">
<fileset dir="${basedir.release}" excludes="**/README.md">
<date datetime="${today}" pattern="yyyy-MM-dd" when="after" />
</fileset>
</scp>