mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-26 04:03:01 +01:00
Remove unused fields in minified index (#9)
This commit is contained in:
parent
1de3c5ed53
commit
734d48680d
2
.github/scripts/create-repo.sh
vendored
2
.github/scripts/create-repo.sh
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user