* misc refactoring in the build script
This commit is contained in:
parent
e6359bd5eb
commit
b0068777e2
13
build.xml
13
build.xml
|
@ -336,14 +336,9 @@
|
||||||
|
|
||||||
|
|
||||||
<target name="deploy-release" depends="fatjar, appbundle, deb, msi, webstart">
|
<target name="deploy-release" depends="fatjar, appbundle, deb, msi, webstart">
|
||||||
<!-- ask for sourceforge password -->
|
|
||||||
<property name="sf.user" value="rednoah,filebot" />
|
|
||||||
<input message="Please enter password:" addproperty="sf.password" />
|
|
||||||
|
|
||||||
<!-- create fatjar release folder -->
|
|
||||||
<mkdir dir="${dir.dist}/release" />
|
<mkdir dir="${dir.dist}/release" />
|
||||||
|
|
||||||
<!-- copy fatjar and source -->
|
<!-- prepare release packages -->
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.fatjar}" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.fatjar}" />
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.appbundle.zip}" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.appbundle.zip}" />
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.source.zip}" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.source.zip}" />
|
||||||
|
@ -352,6 +347,10 @@
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x86.msi" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x86.msi" />
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x64.msi" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x64.msi" />
|
||||||
|
|
||||||
|
<!-- ask for sourceforge password -->
|
||||||
|
<property name="sf.user" value="rednoah,filebot" />
|
||||||
|
<input message="Please enter password:" addproperty="sf.password" />
|
||||||
|
|
||||||
<!-- deploy source zip first so it will be the oldest file in the release folder -->
|
<!-- deploy source zip first so it will be the oldest file in the release folder -->
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*-src.zip" />
|
<fileset dir="${dir.dist}/release" includes="**/*-src.zip" />
|
||||||
|
@ -389,7 +388,7 @@
|
||||||
|
|
||||||
|
|
||||||
<target name="deploy-website">
|
<target name="deploy-website">
|
||||||
<!-- prepare website resource -->
|
<!-- prepare website resources -->
|
||||||
<copy todir="${dir.dist}/website">
|
<copy todir="${dir.dist}/website">
|
||||||
<fileset dir="${dir.website}">
|
<fileset dir="${dir.website}">
|
||||||
<include name="*.html" />
|
<include name="*.html" />
|
||||||
|
|
Loading…
Reference in New Issue