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 fac6c98 commit 2c92ea9Copy full SHA for 2c92ea9
scripts/install_wasm_sdk.sh
@@ -18,6 +18,6 @@
18
19
set -euo pipefail
20
21
-version="$(swiftc --version | head -n1)"
+version="$(swift --version | head -n1)"
22
tag="$(curl -sL "https://raw.githubusercontent.com/swiftwasm/swift-sdk-index/refs/heads/main/v1/tag-by-version.json" | jq -e -r --arg v "$version" '.[$v] | .[-1]')"
23
curl -sL "https://raw.githubusercontent.com/swiftwasm/swift-sdk-index/refs/heads/main/v1/builds/$tag.json" | jq -r '.["swift-sdks"]["wasm32-unknown-wasi"] | "swift sdk install \"\(.url)\" --checksum \"\(.checksum)\""' | sh -x
0 commit comments