Skip to content

Commit f089344

Browse files
davidbarros2claude
andcommitted
fix(ci): remove 2>&1 from smoke test — fixes $LASTEXITCODE=null for GUI exe
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b097c89 commit f089344

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131

3232
- name: Smoke test — --version
3333
run: |
34-
& dist\EleitorUM\EleitorUM.exe --version 2>&1
35-
if ($LASTEXITCODE -ne 0) {
36-
Write-Error "EleitorUM.exe --version exited $LASTEXITCODE"
34+
& dist\EleitorUM\EleitorUM.exe --version
35+
$code = $LASTEXITCODE
36+
if ($code -ne 0) {
37+
Write-Error "EleitorUM.exe --version exited $code"
3738
exit 1
3839
}
3940
Write-Host "Smoke test passed (exit code 0)"

0 commit comments

Comments
 (0)