summaryrefslogtreecommitdiff
path: root/update/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update/update.sh')
-rwxr-xr-xupdate/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update/update.sh b/update/update.sh
index 820954e..d0b996f 100755
--- a/update/update.sh
+++ b/update/update.sh
@@ -17,7 +17,7 @@ cd ../../client-data
head=`git log --pretty=oneline -n 1 | awk '{print $1}'`
u1=`echo ${previous} | cut -c 1-7`
u2=`echo ${head} | cut -c 1-7`
-git log --name-status ${previous}..${head} | awk '/^(A|M)\t/ {print $2}' | \
+git diff --name-status ${previous} HEAD | awk '/^(A|M)\t/ {print $2}; /^(R...)\t/ {print $3}' | \
grep -e "[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" | sort | uniq | \
xargs zip -X -9 -r ../tools/update/files/TMW2-${u1}..${u2}.zip