This commit is contained in:
zsbai
2022-08-24 16:41:46 +08:00
parent 13f522e575
commit 4bbb7cb04b

View File

@@ -99,7 +99,7 @@ function main() {
now_sum256=`shasum -a 256 ${temp_path}/WeChatMac.dmg | awk '{print $1}'`
local latest_sum256=`gh release view --json body --jq ".body" | awk '/Sha256/{ print $2 }'`
local latest_sum256=`gh release view --json body --jq ".body" | awk '/DestVersion/{ print $2 }'`
local latest_version=`gh release view --json body --jq ".body" | awk '/DestVersion/{ print $2 }'`
if [ "$now_sum256" = "$latest_sum256" ]; then
>&2 echo -e "\n\033[1;32mThis is the newest Version!\033[0m\n"