summaryrefslogtreecommitdiff
path: root/update/createnew.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update/createnew.sh')
-rwxr-xr-xupdate/createnew.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/update/createnew.sh b/update/createnew.sh
index 0b4a484..535ea81 100755
--- a/update/createnew.sh
+++ b/update/createnew.sh
@@ -13,7 +13,8 @@ mkdir upload
rm files/evol.zip
cd ../../client-data
-find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -@ ../tools/update/files/evol.zip
+find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -exec touch --date=2015-01-01 {} \;
+find -iregex ".+[.]\(xml\|png\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -X -@ ../tools/update/files/evol.zip
git log --pretty=oneline -n 1 | awk '{print $1}' >../tools/update/commit.txt
cd $dir/files