From 734d48680dd4023f89c276e01f76a38e60df123b Mon Sep 17 00:00:00 2001 From: stevenyomi <95685115+stevenyomi@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:35:46 +0800 Subject: [PATCH] Remove unused fields in minified index (#9) --- .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 aeb61cb37..35e3adce3 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 '.' < index.json > index.min.json +jq -c 'map(del(.hasReadme, .hasChangelog, .sources.[]["versionId", "hasCloudflare"]))' < index.json > index.min.json cat index.json