diff --git a/spine-godot/build/setup-extension.sh b/spine-godot/build/setup-extension.sh index 4a3ca4fd7..c66e02e49 100755 --- a/spine-godot/build/setup-extension.sh +++ b/spine-godot/build/setup-extension.sh @@ -33,7 +33,7 @@ if [ "$mono" != "true" ] && [ "$mono" != "false" ]; then exit 1 fi -godot_cpp_branch=$(echo $godot_branch | cut -d. -f1-2) +godot_cpp_branch=$(echo $godot_branch | cut -d. -f1-2 | cut -d- -f1) cpus=2 if [ "$OSTYPE" == "msys" ]; then