Skip to content

Commit

Permalink
Use .tar.xz extension for arm64 linux binary upload (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored Oct 10, 2023
1 parent 8e82384 commit 7171748
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/update_linux_arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ SHA=$(jq -r ".releases.\"${VERSION}\"" emscripten-releases-tags.json)
URL=$(jq -r '.Records[0] | "https://\(.s3.bucket.name).s3.\(.awsRegion).amazonaws.com/\(.s3.object.key)"')

wget $URL -O arm64.tbz2
gsutil cp -n arm64.tbz2 gs://webassembly/emscripten-releases-builds/linux/${SHA}/wasm-binaries-arm64.tbz2
tar xf arm64.tbz2
tar --use-compress-program "xz -T0" -cf arm64.tar.xz install/
gsutil cp -n arm64.tar.xz gs://webassembly/emscripten-releases-builds/linux/${SHA}/wasm-binaries-arm64.tar.xz
sed -i "s/\"latest-arm64-linux\": \".*\"/\"latest-arm64-linux\": \"$VERSION\"/" emscripten-releases-tags.json

echo "done"

0 comments on commit 7171748

Please sign in to comment.