Closed suvayu closed 3 months ago
GH runs custom steps as bash -e (errexit), which means any command failure leads to the shell terminating. To simplify this complexity, factor out to a dedicated script, which we can now also check with shellcheck.
bash -e
errexit
TestGeneratedPkgs on my fork :white_check_mark:
Note: shellcheck says the last line could be if ! cmd, but for this script that would be rather cumbersome, so I ignored it. (SC2181)
shellcheck
if ! cmd
Closes #322
@allcontributors please add @suvayu for code
@abelsiqueira
I've put up a pull request to add @suvayu! :tada:
GH runs custom steps as
bash -e
(errexit
), which means any command failure leads to the shell terminating. To simplify this complexity, factor out to a dedicated script, which we can now also check with shellcheck.TestGeneratedPkgs on my fork :white_check_mark:
Note:
shellcheck
says the last line could beif ! cmd
, but for this script that would be rather cumbersome, so I ignored it. (SC2181)Related issues
Closes #322
Checklist