From 5fe029120b0a8141b2e09a48dafca5041cb7a8c3 Mon Sep 17 00:00:00 2001 From: stevenyomi <95685115+stevenyomi@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:21:53 +0800 Subject: [PATCH] Really fix jq format in minifying index (#15) --- .github/scripts/create-repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/create-repo.sh b/.github/scripts/create-repo.sh index bb0d68cb..5568d44e 100755 --- a/.github/scripts/create-repo.sh +++ b/.github/scripts/create-repo.sh @@ -61,6 +61,6 @@ for APK in ${APKS[@]}; do done | jq -sr '[.[]]' > index.json # Alternate minified copy -jq -c 'map(del(.hasReadme, .hasChangelog, .sources.[].versionId, .sources.[].hasCloudflare))' < index.json > index.min.json +jq -c 'map(del(.hasReadme, .hasChangelog, .sources[]["versionId", "hasCloudflare"]))' < index.json > index.min.json cat index.json