diff options
-rwxr-xr-x | update/createnew.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/update/createnew.sh b/update/createnew.sh index e09ec85..e4ee61f 100755 --- a/update/createnew.sh +++ b/update/createnew.sh @@ -17,9 +17,10 @@ ls -lh ../.. echo "\033[1mcd ../../clientdata\033[0m" cd ../../clientdata echo "\033[1mGenerating zip file...\033[0m" +ls -lh ../.. find -iregex ".+[.]\(xml\|png\|jpg\|tmx\|ogg\|txt\|po\|tsx\)" -exec touch --date=2015-01-01 {} \; -find -iregex ".+[.]\(xml\|png\|jpg\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -X -@ ../tools/update/files/TMW2.zip -git log --pretty=oneline -n 1 | awk '{print $1}' >../tools/update/commit.txt +find -iregex ".+[.]\(xml\|png\|jpg\|tmx\|ogg\|txt\|po\|tsx\)" -printf "%P\n" | zip -X -@ $dir/files/TMW2.zip +git log --pretty=oneline -n 1 | awk '{print $1}' > $dir/commit.txt echo "\033[1mcd $dir/files\033[0m" cd $dir/files |