diff --git a/_data/new-data/install/linux/dev.yml b/_data/new-data/install/linux/dev.yml new file mode 100644 index 000000000..b65639f57 --- /dev/null +++ b/_data/new-data/install/linux/dev.yml @@ -0,0 +1,15 @@ +latest-dev: + swiftly: + pre-code-text: | + Swiftly supports installing development snapshot toolchains. For example, you can install the latest available snapshot for the next major release using the “main-snapshot” selector and prepare your code for when it arrives. + headline: Swiftly + tabs: + - label: main + code: |- + swiftly install main-snapshot + - label: release/6.2 + code: |- + swiftly install 6.2-snapshot + links: + - href: '/install/linux/swiftly' + copy: 'Instructions' \ No newline at end of file diff --git a/_includes/new-includes/components/linux-releases.html b/_includes/new-includes/components/linux-releases.html index 157be40b9..bfb952ff3 100644 --- a/_includes/new-includes/components/linux-releases.html +++ b/_includes/new-includes/components/linux-releases.html @@ -164,8 +164,15 @@

{{ include.development_2 }}

Static Linux SDK

- Instructions + Instructions

{% include new-includes/components/static-linux-sdk-dev.html %} +

Swift SDK for WebAssembly

+
+

+ Instructions +

+
+ {% include new-includes/components/wasm-sdk-dev.html %} \ No newline at end of file diff --git a/_includes/new-includes/components/static-linux-sdk-dev.html b/_includes/new-includes/components/static-linux-sdk-dev.html index 0989d6071..cb731e035 100644 --- a/_includes/new-includes/components/static-linux-sdk-dev.html +++ b/_includes/new-includes/components/static-linux-sdk-dev.html @@ -1,5 +1,5 @@ {% assign static_sdk_dev_builds = site.data.builds.development.static_sdk | sort: 'date' | reverse %} -{% assign static_sdk_6_1_builds = site.data.builds.swift-6_1-branch.static_sdk | sort: 'date' | reverse %} +{% assign static_sdk_6_2_builds = site.data.builds.swift-6_2-branch.static-sdk | sort: 'date' | reverse %}
@@ -28,21 +28,21 @@

main

-

release/6.1

+

release/6.2

- {{ static_sdk_6_1_builds.first.date | date: '%B %-d, %Y' }}
+ {{ static_sdk_6_2_builds.first.date | date: '%B %-d, %Y' }}
Static Linux SDK - Cross compile to Linux.

- {% assign base_url = "https://download.swift.org/development/static-sdk/" | append: static_sdk_6_1_builds.first.dir | append: "/" | append: static_sdk_6_1_builds.first.download %} - {% assign command = "swift sdk install " | append: base_url | append: " --checksum " | append: static_sdk_6_1_builds.first.checksum %} + {% assign base_url = "https://download.swift.org/swift-6.2-branch/static-sdk/" | append: static_sdk_6_2_builds.first.dir | append: "/" | append: static_sdk_6_2_builds.first.download %} + {% assign command = "swift sdk install " | append: base_url | append: " --checksum " | append: static_sdk_6_2_builds.first.checksum %}

diff --git a/_includes/new-includes/components/wasm-sdk-dev.html b/_includes/new-includes/components/wasm-sdk-dev.html new file mode 100644 index 000000000..d04df2b9b --- /dev/null +++ b/_includes/new-includes/components/wasm-sdk-dev.html @@ -0,0 +1,51 @@ +{% assign wasm_sdk_dev_builds = site.data.builds.development.wasm-sdk | sort: 'date' | reverse %} +{% assign wasm_sdk_6_2_builds = site.data.builds.swift-6_2-branch.wasm-sdk | sort: 'date' | reverse %} + +
+
+
+
+

main

+

+ {{ wasm_sdk_dev_builds.first.date | date: '%B %-d, %Y' }}
+ Swift SDKs for WebAssembly +

+ {% assign base_url = "https://download.swift.org/development/wasm-sdk/" | append: wasm_sdk_dev_builds.first.dir | append: "/" | append: wasm_sdk_dev_builds.first.download %} + {% assign command = "swift sdk install " | append: base_url | append: " --checksum " | append: wasm_sdk_dev_builds.first.checksum %} + +

+ +
+
+
+
+
+
+

release/6.2

+

+ {{ wasm_sdk_6_2_builds.first.date | date: '%B %-d, %Y' }}
+ Swift SDKs for WebAssembly +

+ {% assign base_url = "https://download.swift.org/swift-6.2-branch/wasm-sdk/" | append: wasm_sdk_6_2_builds.first.dir | append: "/" | append: wasm_sdk_6_2_builds.first.download %} + {% assign command = "swift sdk install " | append: base_url | append: " --checksum " | append: wasm_sdk_6_2_builds.first.checksum %} + +

+ +
+
+
+
\ No newline at end of file diff --git a/install/linux/index.md b/install/linux/index.md index b5b54dc9b..6745282c6 100644 --- a/install/linux/index.md +++ b/install/linux/index.md @@ -21,6 +21,29 @@ title: Install Swift - Linux {% include new-includes/components/static-linux-sdk.html %}
+

Development Snapshots

+
+

Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.

+
+
+
+ {% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.linux.dev.latest-dev.swiftly %} +
+
+

Static Linux SDK

+
+

+ Instructions +

+
+ {% include new-includes/components/static-linux-sdk-dev.html %} +

Swift SDK for WebAssembly

+
+

+ Instructions +

+
+ {% include new-includes/components/wasm-sdk-dev.html %}

diff --git a/install/macos/index.md b/install/macos/index.md index 751169ace..6bc8065a3 100644 --- a/install/macos/index.md +++ b/install/macos/index.md @@ -120,4 +120,11 @@ title: Install Swift - macOS

{% include new-includes/components/static-linux-sdk-dev.html %} +

Swift SDK for WebAssembly

+
+

+ Instructions +

+
+ {% include new-includes/components/wasm-sdk-dev.html %}