From d7d0e73fdf384e7e56fd694b94f164e70cbd2310 Mon Sep 17 00:00:00 2001 From: stevenyomi <95685115+stevenyomi@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:56:52 +0800 Subject: [PATCH] Try fixing jq format in minifying index (#13) --- .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 6abc4db2d..c1036d080 100755 --- a/.github/scripts/create-repo.sh +++ b/.github/scripts/create-repo.sh @@ -63,6 +63,6 @@ for APK in ${APKS[@]}; do done | jq -sr '[.[]]' > index.json # Alternate minified copy -jq -c 'map(del(.hasReadme, .hasChangelog, .sources.[]["versionId", "hasCloudflare"]))' < index.json > index.min.json +jq -c 'map(del(.hasReadme, .hasChangelog, .sources.[].versionId, .sources.[].hasCloudflare))' < index.json > index.min.json cat index.json