Watch
1
0
Fork
You've already forked RedFlag
0

ci: install jq before the release manifest steps

Neither the release nor the publish job has ever executed, so jq's presence in the runner image is unproven while both depend on it.

The guard matches the one the history gate already uses for curl.
This commit is contained in:
Fimeg 2026-09-03 18:58:52 -04:00
commit f9e099f4f4

View file

@ -436,6 +436,7 @@ jobs:
- name: Generate manifest artifact snippet - name: Generate manifest artifact snippet
run: | run: |
set -euo pipefail set -euo pipefail
command -v jq >/dev/null || (apt-get update -qq && apt-get install -y -qq jq)
VERSION=${GITHUB_REF#refs/tags/v} VERSION=${GITHUB_REF#refs/tags/v}
cd dist cd dist
# Emit one JSON object per binary in this platform's tarball. # Emit one JSON object per binary in this platform's tarball.
@ -504,6 +505,7 @@ jobs:
- name: Generate component manifest - name: Generate component manifest
run: | run: |
set -euo pipefail set -euo pipefail
command -v jq >/dev/null || (apt-get update -qq && apt-get install -y -qq jq)
VERSION=${GITHUB_REF#refs/tags/v} VERSION=${GITHUB_REF#refs/tags/v}
NOW=$(date -u +%s) NOW=$(date -u +%s)