summaryrefslogtreecommitdiff
path: root/web/gameinfo.sh
blob: 0a19e5d7d134db866ec3bed9e25b8975b5c27e5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

echo "Begin - Gameinfo updater. User input required."
cd ../../gameinfo-api

cd serverdata
git pull --rebase -X theirs
cd ..

cd clientdata
git pull --rebase -X theirs
cd ..

git commit -a
git push

echo "Gameinfo updated!"