Add phabricator-upgrading script
Because I need this on the private server. Signed-off-by: Yongmin Hong <revi@pobox.com>
This commit is contained in:
parent
596816e986
commit
b00bd200f6
1 changed files with 15 additions and 0 deletions
15
phab-upgrade.sh
Normal file
15
phab-upgrade.sh
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
cd /var/www/html/phabricator
|
||||||
|
sudo ./bin/phd stop
|
||||||
|
sudo service apache2 stop
|
||||||
|
sudo git checkout stable
|
||||||
|
sudo git pull origin stable
|
||||||
|
cd ../libphutil
|
||||||
|
sudo git checkout stable
|
||||||
|
sudo git pull origin stable
|
||||||
|
cd ../arcanist
|
||||||
|
sudo git checkout stable
|
||||||
|
sudo git pull origin stable
|
||||||
|
cd ../phabricator
|
||||||
|
sudo ./bin/phd start
|
||||||
|
sudo service apache2 start
|
Loading…
Reference in a new issue