From b00bd200f6abd00e50ec80ad70578b6c931fa0da Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Sat, 31 Dec 2016 03:30:38 +0900 Subject: [PATCH] Add phabricator-upgrading script Because I need this on the private server. Signed-off-by: Yongmin Hong --- phab-upgrade.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 phab-upgrade.sh diff --git a/phab-upgrade.sh b/phab-upgrade.sh new file mode 100644 index 0000000..ae2f1d2 --- /dev/null +++ b/phab-upgrade.sh @@ -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