Skip to content

Commit

Permalink
Fix version update targets. (#20)
Browse files Browse the repository at this point in the history
Tell `curl` to follow redirects to construct the right checksum.
  • Loading branch information
Attila Oláh authored Mar 30, 2022
1 parent fcde99e commit b576bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/version_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ for spec in ${version_specs[@]}; do
url="$(sed "s/${version}/${upstream_version}/g" <<< "${url}")"
tmp="$(mktemp)"

curl "${url}" --output "${tmp}" --silent
curl "${url}" --output "${tmp}" --silent --location

checksum="$(sha256sum "${tmp}" | awk '{ print $1 }')"

Expand Down

0 comments on commit b576bb3

Please sign in to comment.