From 7c2da7007f206fb3efcb844c3eb97bebfea19bd1 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 35e3adce..bb0d68cb 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", "hasCloudflare"]))' < index.json > index.min.json +jq -c 'map(del(.hasReadme, .hasChangelog, .sources.[].versionId, .sources.[].hasCloudflare))' < index.json > index.min.json cat index.json