From 1d6aa8072c5b2f633f565a76df0a671c4a0b7187 Mon Sep 17 00:00:00 2001 From: Kyle Buller Date: Sun, 5 May 2024 23:33:30 -0500 Subject: [PATCH] Temporary restrict Wago versions --- release.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index 5fd5432..d20fc76 100755 --- a/release.sh +++ b/release.sh @@ -2927,7 +2927,8 @@ upload_wago() { fi local _wago_versions _wago_game_version _wago_support_property - _wago_versions=$( curl -s https://addons.wago.io/api/data/game | jq -c '.patches' 2>/dev/null ) + # _wago_versions=$( curl -s https://addons.wago.io/api/data/game | jq -c '.patches' 2>/dev/null ) + _wago_versions='{"retail":["10.2.7"],"cata":["4.4.0"],"wotlk":["3.4.3"],"classic":["1.15.2"]}' # XXX single version compat if [ -n "$_wago_versions" ]; then _wago_support_property= local wago_type wago_game_type_version invalid_version @@ -2961,7 +2962,7 @@ upload_wago() { fi done if [[ -n $wago_game_type_version ]]; then - _wago_support_property+="\"supported_${wago_type}_patches\": [${wago_game_type_version#,}], " + _wago_support_property+="\"supported_${wago_type}_patch\": ${wago_game_type_version#,}, " # XXX single version compat fi done _wago_game_version=$( echo "${_wago_game_version#,}" | tr ',' '\n' | sort -Vr | tr '\n' ',' )