Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preliminary 3.4.0 Support #123

Merged
merged 10 commits into from
Jul 14, 2022
Prev Previous commit
Next Next commit
Use case for wago type normalization
  • Loading branch information
nebularg committed Jul 14, 2022
commit e4605c1ea1a7122bf5d357933e231ac2de02ef33
8 changes: 5 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2740,9 +2740,11 @@ upload_wago() {
local version wago_type
for type in "${!game_type_version[@]}"; do
version="${game_type_version[$type]}"
wago_type="$type"
[[ "$wago_type" == "bcc" ]] && wago_type="bc"
[[ "$wago_type" == "wrath" ]] && wago_type="wotlk"
case $type in
bcc) wago_type="bc" ;;
wrath) wago_type="wotlk" ;;
*) wago_type="$type"
esac
# check the version
if ! jq -e --arg t "$wago_type" --arg v "$version" '.[$t] | index($v)' <<< "$_wago_versions" &>/dev/null; then
# no match, so grab the next highest version (try to avoid testing versions)
Expand Down