File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,15 @@ The distributed artifact bundles also include support for the experimental Embed
2626
27274 . Run a command in your terminal application to install Swift SDKs for Wasm.
2828
29+ {% assign platform = site.data.builds.swift_releases.last.platforms | where: 'name', 'Wasm'| first %}
30+ {% assign tag = site.data.builds.swift_releases.last.tag %}
31+ {% assign tag_downcase = site.data.builds.swift_releases.last.tag | downcase %}
32+
33+ {% assign base_url = "https://download.swift.org/ " | append: tag_downcase | append: "/wasm/" | append: tag | append: "/" | append: tag %}
34+ {% assign command = "swift sdk install " | append: base_url | append: "_ wasm.artifactbundle.tar.gz --checksum " | append: platform.checksum %}
35+
2936 ```
30- swift sdk install https://download.swift.org/swift-6.2-release/wasm/swift-6.2-RELEASE/swift-6.2-RELEASE_wasm.artifactbundle.tar.gz --checksum fe4e8648309fce86ea522e9e0d1dc48e82df6ba6e5743dbf0c53db8429fb5224
37+ {{ command }}
3138 ```
3239
33406 . Run ` swift sdk list ` to verify the Swift SDK was installed and note its ID in the output. Two Swift SDKs will be installed,
You can’t perform that action at this time.
0 commit comments