diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-18 17:26:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-18 17:26:55 +0300 |
commit | 8e466279958a6daa9c611f1a76f64e4304eb2484 (patch) | |
tree | 29829046a3f4f41f8dfdabf839a8879b188ebc64 /update/createnew.sh | |
parent | 9ec17823c8992464aa3e0bd79c7d34f546340cda (diff) | |
download | evol-tools-8e466279958a6daa9c611f1a76f64e4304eb2484.tar.gz evol-tools-8e466279958a6daa9c611f1a76f64e4304eb2484.tar.bz2 evol-tools-8e466279958a6daa9c611f1a76f64e4304eb2484.tar.xz evol-tools-8e466279958a6daa9c611f1a76f64e4304eb2484.zip |
update: set files date time to fixed value before packing into zips.
Diffstat (limited to 'update/createnew.sh')
-rwxr-xr-x | update/createnew.sh | 3 |
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 |