Repository navigation
Commit d4a006b
committed
ci(eql): keep cargo's status in the dry-run publish step, under errexit
The step ran eleven commands with errexit off, which the fail-fast guard
refuses, and it read `status=$?` on the line after an `if`: that is the
if's status, 0 when its condition failed, so a stack-encrypt version that
resolved and then failed to compile would have exited 0, the silent case
the step exists to catch. The status is now taken from cargo directly
(`|| status=$?`) under `set -euo pipefail`, and the two exits are decided
from it.1 parent 501146a commit d4a006b
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
639 | | - | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
640 | 647 | | |
641 | 648 | | |
642 | | - | |
643 | | - | |
644 | 649 | | |
645 | 650 | | |
646 | 651 | | |
| |||
0 commit comments