summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rwxr-xr-xweb/gameinfo.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/web/gameinfo.sh b/web/gameinfo.sh
new file mode 100755
index 0000000..0a19e5d
--- /dev/null
+++ b/web/gameinfo.sh
@@ -0,0 +1,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!"
+