Skip to content

Commit

Permalink
Fix -g Classic matching for 1.14
Browse files Browse the repository at this point in the history
Fixes #113
  • Loading branch information
nebularg committed Nov 14, 2021
1 parent cd3d45e commit 671e9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ while getopts ":celLzusop:dw:a:r:t:g:m:n:" opt; do
usage
exit 1
fi
if [[ ${BASH_REMATCH[1]} == "1" && ${BASH_REMATCH[2]} == "13" ]]; then
if [[ ${BASH_REMATCH[1]} == "1" && (${BASH_REMATCH[2]} == "13" || ${BASH_REMATCH[2]} == "14") ]]; then
game_type="classic"
elif [[ ${BASH_REMATCH[1]} == "2" && ${BASH_REMATCH[2]} == "5" ]]; then
game_type="bcc"
Expand Down

0 comments on commit 671e9a0

Please sign in to comment.