github-action icon indicating copy to clipboard operation
github-action copied to clipboard

Handle failure from grep/awk

Open jsoref opened this issue 1 month ago • 1 comments

  • fixes #255

jsoref avatar Nov 27 '25 14:11 jsoref

If the [ -z "$expected_checksum" ] condition was reached, then echo "Failed to extract checksum for ${platform_filename}" would have run, and the log would have had Failed to extract checksum for , but that isn't present. Thus that line can't possibly have been reached.

503s from github happen often enough, especially at the scale that your code runs.

The || true should cause your code to fall into the -z "..." case which is desirable.

jsoref avatar Nov 30 '25 02:11 jsoref