mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Merge pull request #9743 from cakephp/new-pear-server
Update build config for new pear server.
This commit is contained in:
commit
c5ec8db59a
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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)">
|
||||||
|
|
Loading…
Add table
Reference in a new issue