We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd90013 commit f5fabe7Copy full SHA for f5fabe7
scripts/update-motoko.sh
@@ -33,7 +33,6 @@ declare -A variants=([x86_64-darwin]=Darwin-x86_64 [x86_64-linux]=Linux-x86_64 [
33
for platform in "${!variants[@]}"; do
34
motoko_url=$(printf 'https://github.com/dfinity/motoko/releases/download/%s/motoko-%s-%s.tar.gz' \
35
"$(urlencode "$version")" "$(urlencode "${variants[$platform]}")" "$(urlencode "$version")")
36
- echo "$motoko_url"
37
motoko_sha=$(curl --proto '=https' --tlsv1.2 -sSfL "$motoko_url" | sha256sum | head -c 64)
38
jq '.[$platform].motoko = {url: $url, sha256: $sha256, version: $version}' --arg platform "$platform" --arg version "$version" \
39
--arg url "$motoko_url" --arg sha256 "$motoko_sha" "$sources" | sponge "$sources"
0 commit comments