Really fix jq format in minifying index (#15)

This commit is contained in:
stevenyomi 2024-01-09 18:21:53 +08:00 committed by Draff
parent d7d0e73fdf
commit 27fcd423c9
1 changed files with 1 additions and 1 deletions

View File

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