Merge pull request #9743 from cakephp/new-pear-server

Update build config for new pear server.
This commit is contained in:
Mark Story 2016-11-12 09:41:43 -05:00 committed by GitHub
commit c5ec8db59a
2 changed files with 4 additions and 4 deletions

View file

@ -9,4 +9,4 @@ build.dir = build
dist.dir = dist dist.dir = dist
# Server # Server
pirum.dir = /home/cakephp/www-live/pear.cakephp.org pirum.dir = /var/lib/dokku/data/storage/pear

View file

@ -213,10 +213,10 @@
--> -->
<target name="distribute" depends="prepare" description="Upload pear packages to pear.cakephp.org"> <target name="distribute" depends="prepare" description="Upload pear packages to pear.cakephp.org">
<echo msg="Uploading tgz file to cakephp.org" /> <echo msg="Uploading tgz file to cakephp.org" />
<exec command="scp ${dist.dir}/${pear.package}.tgz cakephp@pear.cakephp.org:${pirum.dir}" dir="." checkreturn="true" /> <exec command="scp ${dist.dir}/${pear.package}.tgz root@new.cakephp.org:${pirum.dir}" dir="." checkreturn="true" />
<echo msg="Adding new release to pirum" /> <echo msg="Rebuilding pear.cakephp.org container" />
<exec command="ssh cakephp@pear.cakephp.org pirum add ${pirum.dir} ${pirum.dir}/${pear.package}.tgz" checkreturn="true" /> <exec command="ssh root@new.cakephp.org dokku ps:rebuild pear" checkreturn="true" />
</target> </target>
<target name="codestyle" description="Check codestyle (human readable format)"> <target name="codestyle" description="Check codestyle (human readable format)">