Commit 1fba7c5
authored
ci(release): fix false-red btc-Windows --help smoke on PowerShell (#719)
The Windows smoke step piped a native command straight into
Select-Object -First 5. --help writes usage to stderr; the -First 5
truncation closes the pipe early, so PowerShell raises a
NativeCommandError and the step exits 1 even though the binary printed
correct usage (build succeeded, link succeeded). Buffer the output into
a variable first (exe runs to completion, no broken pipe), then
Select-Object on the array, and exit 0 to match the Linux/macOS lanes,
which already use || true. Smoke is a liveness check, not a gate.
Co-authored-by: frstrtr <frstrtr@users.noreply.github.com>1 parent 1737f37 commit 1fba7c5
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
553 | 558 | | |
554 | 559 | | |
555 | 560 | | |
| |||
0 commit comments