Skip to content

Commit 6d9ed17

Browse files
committed
Remove old upload configuration
1 parent 6dc585b commit 6d9ed17

File tree

1 file changed

+0
-54
lines changed

1 file changed

+0
-54
lines changed

utils/build.xml

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
<property file="version.properties"/>
44
<property file="build.properties"/>
5-
<property name="upload.host" value="jasig01.managed.contegix.com" />
6-
<property name="upload.remotedir" value="/var/www/domains/jasig.org/downloads/htdocs/cas-clients/php" />
75

86
<taskdef name="doxygen"
97
classname="org.doxygen.tools.DoxygenTask"
@@ -79,13 +77,6 @@
7977
byline="true"
8078
/>
8179

82-
<!-- Update the doc url -->
83-
<replaceregexp file="../docs/index.html"
84-
match="http://downloads\.jasig\.org/cas-clients/php/[^/]+/docs/api/"
85-
replace="http://downloads.jasig.org/cas-clients/php/${phpcas.version}/docs/api/"
86-
byline="true"
87-
/>
88-
8980
<!-- Commit the version changes -->
9081
<exec dir="${basedir}/.." executable="${git.path}" failonerror="true">
9182
<arg value="add" />
@@ -255,51 +246,6 @@
255246

256247
</target>
257248

258-
<!-- ==========================================================
259-
Upload the distribution files to the download area
260-
-->
261-
<target name="upload"
262-
description="Upload the distribution files to JA-SIG">
263-
<!-- Check that all the properties used for archives upload are set -->
264-
<fail message="please set ${upload.username} in build.properties" unless="upload.username"/>
265-
<fail message="please set ${upload.password} in build.properties" unless="upload.password"/>
266-
<scp
267-
trust="true"
268-
localFile="${basedir}/dist/CAS-${phpcas.version}.tgz"
269-
remoteTodir="${upload.username}:${upload.password}@${upload.host}:${upload.remotedir}" />
270-
<scp
271-
trust="true"
272-
localFile="${basedir}/dist/docs-${phpcas.version}.tgz"
273-
remoteTodir="${upload.username}:${upload.password}@${upload.host}:${upload.remotedir}" />
274-
<sshexec
275-
host="${upload.host}"
276-
username="${upload.username}"
277-
command="cd ${upload.remotedir} &amp;&amp; rm -rf ${phpcas.version} docs &amp;&amp; mkdir ${phpcas.version} &amp;&amp; mv CAS-${phpcas.version}.tgz ${phpcas.version} &amp;&amp; gunzip docs-${phpcas.version}.tgz &amp;&amp; tar xf docs-${phpcas.version}.tar &amp;&amp; mv docs ${phpcas.version} &amp;&amp; rm docs-${phpcas.version}.tar &amp;&amp; echo 'done (you can kill the ant task)'"
278-
password="${upload.password}"
279-
trust="true" />
280-
</target>
281-
282-
<!-- ==========================================================
283-
Make a 'current' symlink to the current version
284-
-->
285-
<target name="makeCurrentSymlink"
286-
description="Make a 'stable' symlink to the current version">
287-
<!-- Check that all the properties used for archives upload are set -->
288-
<fail message="please set ${upload.username} in build.properties" unless="upload.username"/>
289-
<fail message="please set ${upload.password} in build.properties" unless="upload.password"/>
290-
<sshexec
291-
host="${upload.host}"
292-
username="${upload.username}"
293-
command="cd ${upload.remotedir} &amp;&amp; rm -f current &amp;&amp; ln -s ${phpcas.version} current &amp;&amp; echo 'done (you can kill the ant task)'"
294-
password="${upload.password}"
295-
trust="true" />
296-
<sshexec
297-
host="${upload.host}"
298-
username="${upload.username}"
299-
command="cd ${upload.remotedir} &amp;&amp; rm -f current.tgz &amp;&amp; ln -s ${phpcas.version}/CAS-${phpcas.version}.tgz current.tgz &amp;&amp; echo 'done (you can kill the ant task)'"
300-
password="${upload.password}"
301-
trust="true" />
302-
</target>
303249

304250
<!-- ==========================================================
305251
Push the release to the origin repository

0 commit comments

Comments
 (0)