From 597f1a74b50200cdff4c6301b047e8b461b6da90 Mon Sep 17 00:00:00 2001 From: bionickatana Date: Mon, 22 Jun 2026 10:57:36 -0600 Subject: [PATCH] Godot auto build --- .gitea/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 23a46eb..b4a199f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -14,7 +14,8 @@ jobs: echo "🔍 Parsing project.godot to identify the target engine version..." # Extracts the first value out of config/features (e.g., "4.7") - VERSION_SHORT=$(grep "config/features" project.godot | sed -E 's/.*"([^"]+)".*/\1/') + # Finds the line, isolates the contents of the first set of quotes, and strips spaces + VERSION_SHORT=$(grep "config/features" project.godot | sed -E 's/^[^\"]*\"([^\"]+)\".*/\1/' | xargs) if [ -z "$VERSION_SHORT" ]; then echo "❌ Error: Could not determine Godot version from project.godot. Defaulting to 4.7"