forked from github/server
add a simple upgrade script for non-developers.
This commit is contained in:
parent
0913336ef8
commit
d4e5e5f478
1 changed files with 14 additions and 0 deletions
14
s/upgrade
Executable file
14
s/upgrade
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
ROOT=`pwd`
|
||||
while [ ! -d $ROOT/.git ]; do
|
||||
ROOT=`dirname $ROOT`
|
||||
done
|
||||
|
||||
cd $ROOT
|
||||
git pull
|
||||
git submodule update
|
||||
s/build
|
||||
s/runtests
|
||||
s/install
|
Loading…
Reference in a new issue