mirror of
https://github.com/Pathoschild/SMAPI.git
synced 2026-10-12 02:08:51 +00:00
add more info to build error logs
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user