From f57f40e0167f3607997338a053a98e91e2772261 Mon Sep 17 00:00:00 2001 From: Refringe Date: Fri, 29 Mar 2024 12:49:29 -0400 Subject: [PATCH] Adds debugging information to determine-target-tag step --- .gitea/workflows/build.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9cb2260..6cbf605 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -69,7 +69,15 @@ jobs: BUILD_TYPE="bleedingmods" else TARGET_TAG="${{ steps.determine-target-tag.outputs.target_tag }}" - TARGET_TAG_UPPER="${TARGET_TAG^^}" + + # Convert tag for consistent matching + TARGET_TAG="${TARGET_TAG##*( )}" # Remove leading whitespace + TARGET_TAG="${TARGET_TAG%%*( )}" # Remove trailing whitespace + TARGET_TAG_UPPER="${TARGET_TAG^^}" # Uppercase + + echo "Extended Globbing Support: $(shopt extglob)" + echo "Target tag: '$TARGET_TAG'" + echo "Uppercase target tag: '$TARGET_TAG_UPPER'" # Debug build by default # BleedingMods builds have "-BEM" in the target tag