From eb247bbfa2d49325dd3f645710cee4b6f1908231 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Mon, 9 Sep 2024 14:22:10 +0200 Subject: [PATCH] [godot] Another attempt at fixing web template builds for Godot >= 4.3, see #2627 --- .github/workflows/spine-godot-v4.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/spine-godot-v4.yml b/.github/workflows/spine-godot-v4.yml index 4332373b1..75b93af55 100644 --- a/.github/workflows/spine-godot-v4.yml +++ b/.github/workflows/spine-godot-v4.yml @@ -394,7 +394,7 @@ jobs: echo "$GODOT_VERSION" > version.txt # Extract the major and minor version from GODOT_VERSION - GODOT_MAJOR_MINOR=$(echo "$GODOT_VERSION" | awk -F. '{print $1 "." $2}') + GODOT_MAJOR_MINOR=$(echo "$GODOT_VERSION" | sed -E 's/^([0-9]+\.[0-9]+).*/\1/') # Check if the version is >= 4.3 if [[ $(echo "$GODOT_MAJOR_MINOR >= 4.3" | bc) -eq 1 ]]; then