From 199fb9e3899bedc5390ec328b19c27a41e54c993 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 14 Jan 2026 00:10:36 -0500 Subject: [PATCH] add more info to build error logs --- .github/workflows/build-smapi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-smapi.yml b/.github/workflows/build-smapi.yml index 15b90090..2067e620 100644 --- a/.github/workflows/build-smapi.yml +++ b/.github/workflows/build-smapi.yml @@ -57,7 +57,7 @@ jobs: $patch = $Matches[3] } else { - Write-Error 'Input semver did not match the strict x.y.z format. Aborting.' + Write-Error "The version '$version' found in build/common.targets did not match the strict x.y.z format. Aborting." Write-Host 'Debug info:' Write-Host "Extracted version: $version" exit 1 @@ -76,7 +76,7 @@ jobs: shell: pwsh run: | if ($env:VERSION -ne '${{github.ref_name}}') { - Write-Error 'The pushed tag doesn't match the version we have in build/common.targets. Aborting.' + Write-Error "The pushed tag '${{github.ref_name}}' doesn't match the version '$env:VERSION' found in build/common.targets. Aborting." Write-Host 'Debug info:' Write-Host 'Tag: ${{github.ref_name}}' Write-Host "In common.targets: $env:VERSION"