Drop md5 checksums

This commit is contained in:
Joe Ferguson
2020-10-29 10:27:05 -07:00
parent 5dd0da6ee3
commit e12d4c5d46
47 changed files with 50 additions and 191 deletions

View File

@ -52,8 +52,7 @@ for version in "${versions[@]}"; do
|
"https://www.php.net/distributions/" + .filename,
"https://www.php.net/distributions/" + .filename + ".asc",
.sha256 // "",
.md5 // ""
.sha256 // ""
) ]
'
else
@ -65,8 +64,7 @@ for version in "${versions[@]}"; do
.version,
.files.xz.path // "",
"",
.files.xz.sha256 // "",
.files.xz.md5 // ""
.files.xz.sha256 // ""
]
'
fi
@ -85,14 +83,13 @@ for version in "${versions[@]}"; do
exit 1
fi
# format of "possibles" array entries is "VERSION URL.TAR.XZ URL.TAR.XZ.ASC SHA256 MD5" (each value shell quoted)
# format of "possibles" array entries is "VERSION URL.TAR.XZ URL.TAR.XZ.ASC SHA256" (each value shell quoted)
# see the "apiJqExpr" values above for more details
eval "possi=( ${possibles[0]} )"
fullVersion="${possi[0]}"
url="${possi[1]}"
ascUrl="${possi[2]}"
sha256="${possi[3]}"
md5="${possi[4]}"
gpgKey="${gpgKeys[$rcVersion]:-}"
if [ -z "$gpgKey" ]; then
@ -129,7 +126,7 @@ for version in "${versions[@]}"; do
echo "$version: $fullVersion"
export fullVersion url ascUrl sha256 md5 gpgKey
export fullVersion url ascUrl sha256 gpgKey
json="$(
jq <<<"$json" -c \
--argjson variants "$variants" \