add more info to build error logs

This commit is contained in:
Jesse Plamondon-Willard
2026-01-14 00:10:36 -05:00
parent 63ddc30e2f
commit 199fb9e389
+2 -2
View File
@@ -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"