diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-08-28 19:53:13 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-08-28 19:53:13 +0800 |
| commit | 0143bb98938a94179e296b44bc7f6b72f3f4fda4 (patch) | |
| tree | 80ef8e209c2a9e372fee3b37f3f8bda8070521c7 /.github/workflows | |
| parent | 589ad97b642f779d036500a253d587f403c0678e (diff) | |
| download | AeroCore-OS-0143bb98938a94179e296b44bc7f6b72f3f4fda4.tar.gz AeroCore-OS-0143bb98938a94179e296b44bc7f6b72f3f4fda4.zip | |
fix: escape jq filter in metadata check
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60104ea..f2a2b07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -168,7 +168,8 @@ jobs: sudo podman run --rm --entrypoint /usr/bin/bash \ "${IMAGE_NAME}:${DEFAULT_TAG}" -ceu ' system_release=/etc/system-release - fedora_version=$(jq -er '."fedora-version" | strings' /usr/share/ublue-os/image-info.json) + fedora_version=$(jq -er '\''."fedora-version" | strings'\'' \ + /usr/share/ublue-os/image-info.json) if od -An -v -tx1 "$system_release" | awk '\''{ for (i = 1; i <= NF; i++) if ($i == "00") found = 1 } END { exit(found ? 0 : 1) }'\''; then echo "NUL byte in ${system_release}" >&2 exit 1 |
