dots/phab-upgrade.sh
Yongmin Hong b00bd200f6
Add phabricator-upgrading script
Because I need this on the private server.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2016-12-31 03:30:38 +09:00

15 lines
343 B
Bash

#!/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