diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-06 21:00:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-06 21:00:43 -0300 |
commit | 8c0ba3f76a70d950fed4dafeaae0067086d84df0 (patch) | |
tree | 3a21eb92932ec3779dcb8d3172e0e50c5709a61f | |
parent | 39347dea58c418f060e13f920ed0dd9861dcdd5f (diff) | |
download | tools-8c0ba3f76a70d950fed4dafeaae0067086d84df0.tar.gz tools-8c0ba3f76a70d950fed4dafeaae0067086d84df0.tar.bz2 tools-8c0ba3f76a70d950fed4dafeaae0067086d84df0.tar.xz tools-8c0ba3f76a70d950fed4dafeaae0067086d84df0.zip |
pseudo update: There's no need to record any commit ID
-rwxr-xr-x | update/pseudo_update.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/update/pseudo_update.sh b/update/pseudo_update.sh index 3b5ad51..7824fcc 100755 --- a/update/pseudo_update.sh +++ b/update/pseudo_update.sh @@ -13,17 +13,17 @@ u1=`echo ${previous} | cut -c 1-7` u2=`echo ${head} | cut -c 1-7` 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/upload/Bugfix-${u1}.zip +xargs zip -X -9 -r ../tools/update/upload/Bugfix-TMW2.zip cd $dir/upload -sum=`adler32 Bugfix-${u1}.zip | awk '{print $2}'` +sum=`adler32 Bugfix-TMW2.zip | awk '{print $2}'` echo "Update ID: ${u1}..${u2}" echo "Checksum: ${sum}" -echo "Bugfix-${u1}.zip ${sum}" >>resources2.txt +echo "Bugfix-TMW2.zip ${sum}" >>resources2.txt cp ../files/xml_header.txt resources.xml -echo " <update type=\"data\" file=\"Bugfix-${u1}.zip\" hash=\"${sum}\" />" >> resources.xml +echo " <update type=\"data\" file=\"Bugfix-TMW2.zip\" hash=\"${sum}\" />" >> resources.xml cat ../files/xml_footer.txt >>resources.xml cat ../files/xml_mods.txt >>resources.xml echo '</updates>' >>resources.xml |