Remove unused fields in minified index (#9)

This commit is contained in:
stevenyomi 2024-01-09 17:35:46 +08:00 committed by GitHub
parent 5256209274
commit 867257f259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,6 @@ for APK in ${APKS[@]}; do
done | jq -sr '[.[]]' > index.json done | jq -sr '[.[]]' > index.json
# Alternate minified copy # 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 cat index.json