Skip to content

Commit

Permalink
Temporary restrict Wago versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nebularg committed May 8, 2024
1 parent 5c94d72 commit 1d6aa80
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' ',' )
Expand Down

0 comments on commit 1d6aa80

Please sign in to comment.