* hack to fix upload order
This commit is contained in:
parent
65542919fa
commit
eefebe52ac
10
build.xml
10
build.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue