From 02e24003f61a99924696ee685fcdaa50a578354e Mon Sep 17 00:00:00 2001 From: Kevin Rudde Date: Fri, 31 Jul 2026 10:35:23 +0200 Subject: [PATCH] fix(release): avoid jq ARG_MAX limit encoding CRD files --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index dc53073..76cc850 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -121,8 +121,8 @@ jobs: additions=$(git diff --cached --name-status --no-renames \ | awk -F'\t' '$1!="D"{print $2}' \ | while read -r f; do - jq -n --arg path "$f" --arg contents "$(base64 -w0 "$f")" \ - '{path:$path, contents:$contents}' + base64 -w0 "$f" \ + | jq -Rs --arg path "$f" '{path:$path, contents:.}' done | jq -s '.') deletions=$(git diff --cached --name-status --no-renames \ | awk -F'\t' '$1=="D"{print $2}' \