Simpl-Resultat/scripts
le king fu ba3db7c35d ci(release): check latest.json with one jq filter that the tests also run
Review follow-ups of PR #416. The check that release.yml runs before
deleting the published manifest moves from an inline jq program to
scripts/check-latest-json.jq, which release.yml applies with
`jq -e --arg version ... -f`. scripts/build-latest-json.test.mjs now runs
that same filter on every pull request: on the script's output, on a
wrong version, on nine broken manifests and on the shape published up to
v0.17.1. It also compares the key lists of the script, of the filter and
of verify-release.sh, so a list left behind shows before the tag.

Two new cases pin the version argument: 0.18.0 must come out as 0.18.0
(the other fixtures pass 0.17.1, the version the bundle names carry, so a
script that ignored its argument passed them all), and an empty version
must fail. Both mutations survived the review's pass.

No change to what the manifest holds: still four keys.

Refs #320

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 19:28:48 -04:00
..
build-latest-json.sh docs: name the readers of the linux-x86_64 fallback after self-review 2026-10-10 20:55:02 -04:00
build-latest-json.test.mjs ci(release): check latest.json with one jq filter that the tests also run 2026-10-11 19:28:48 -04:00
check-latest-json.jq ci(release): check latest.json with one jq filter that the tests also run 2026-10-11 19:28:48 -04:00