|
10 | 10 | <tr> |
11 | 11 | <td class="download"> |
12 | 12 | <span class="release"> |
13 | | - <a href="https://itunes.apple.com/app/xcode/id497799835" title="Download" download>{{ include.platform.xcode }}</a> |
| 13 | + <a href="https://itunes.apple.com/app/xcode/id497799835" title="Download" download>{{ include.release.xcode }}</a> |
14 | 14 | </span> |
15 | 15 | </td> |
16 | 16 | <td class="arch-tag"> |
17 | | - {% if include.platform.xcode_toolchain != false %} |
18 | | - <a href="https://download.swift.org/{{ include.platform.tag | downcase }}/xcode/{{ include.platform.tag }}/{{ include.platform.tag }}-osx.pkg" title="Download">Toolchain</a> |
19 | | - <a href="https://download.swift.org/{{ include.platform.tag | downcase }}/xcode/{{ include.platform.tag }}/{{ include.platform.tag }}-osx-symbols.pkg" title="Debugging Symbols" class="signature">Debugging Symbols</a> |
| 17 | + {% if include.release.xcode_toolchain != false %} |
| 18 | + <a href="https://download.swift.org/{{ include.release.tag | downcase }}/xcode/{{ include.release.tag }}/{{ include.release.tag }}-osx.pkg" title="Download">Toolchain</a> |
| 19 | + <a href="https://download.swift.org/{{ include.release.tag | downcase }}/xcode/{{ include.release.tag }}/{{ include.release.tag }}-osx-symbols.pkg" title="Debugging Symbols" class="signature">Debugging Symbols</a> |
20 | 20 | {% else %} |
21 | 21 | <a href="https://itunes.apple.com/app/xcode/id497799835" title="Download" download>x86_64</a> |
22 | 22 | {% endif %} |
23 | 23 | </td> |
24 | 24 | <td class="docker-tag">Unavailable</td> |
25 | 25 | </tr> |
26 | | - {% for platform in include.platform.platforms %} |
| 26 | + {% for platform in include.release.platforms %} |
27 | 27 | <tr> |
28 | 28 | <td class="download"> |
29 | 29 | <span class="release"> |
30 | | - <p title="Download" download>{{ platform.name }}</p> |
31 | | - {% if platform.name == "Windows 10" %} |
32 | | - {% assign package_extension = 'exe' %} |
33 | | - {% else %} |
34 | | - {% assign package_extension = 'tar.gz' %} |
35 | | - {% endif %} |
| 30 | + <p title="Download" download> |
| 31 | + {{ platform.name }} |
| 32 | + {% if platform.platform == "Windows" and include.release.date < swift_5_9_1_release_build.date %} |
| 33 | + <sup> 1</sup> |
| 34 | + {% endif %} |
| 35 | + </p> |
| 36 | + {% if platform.platform == "Windows" %} |
| 37 | + {% assign package_extension = 'exe' %} |
| 38 | + {% else %} |
| 39 | + {% assign package_extension = 'tar.gz' %} |
| 40 | + {% endif %} |
36 | 41 | </span> |
37 | 42 | </td> |
38 | 43 | <td class="arch-tag"> |
|
48 | 53 | {% assign platform_name_url = platform_name_url | append: "-" | append: arch %} |
49 | 54 | {% assign platform_name = platform_name | append: "-" | append: arch %} |
50 | 55 | {% endif %} |
51 | | - {% assign tag_downcase = include.platform.tag | downcase %} |
52 | | - <a href="https://download.swift.org/{{ tag_downcase }}/{{ platform_name_url }}/{{ include.platform.tag}}/{{ include.platform.tag}}-{{ platform_name }}.{{ package_extension }}">{{ arch }}</a> |
53 | | - {% if platform.name != "Windows 10" %} |
54 | | - <a href="https://download.swift.org/{{ tag_downcase }}/{{ platform_name_url }}/{{ include.platform.tag}}/{{ include.platform.tag}}-{{ platform_name }}.{{ package_extension }}.sig" title="PGP Signature" class="signature">Signature ({{ arch }})</a> |
55 | | - {% endif %} |
| 56 | + {% assign tag_downcase = include.release.tag | downcase %} |
| 57 | + <a href="https://download.swift.org/{{ tag_downcase }}/{{ platform_name_url }}/{{ include.release.tag}}/{{ include.release.tag}}-{{ platform_name }}.{{ package_extension }}">{{ arch }}</a> |
| 58 | + {% unless platform.platform == "Windows" and include.release.date >= swift_5_9_1_release_build.date %} |
| 59 | + <a href="https://download.swift.org/{{ tag_downcase }}/{{ platform_name_url }}/{{ include.release.tag}}/{{ include.release.tag}}-{{ platform_name }}.{{ package_extension }}.sig" title="PGP Signature" class="signature">Signature ({{ arch }})</a> |
| 60 | + {% endunless %} |
56 | 61 | {% endfor %} |
57 | 62 | </td> |
58 | 63 | <td class="docker-tag"> |
|
66 | 71 | {% endfor %} |
67 | 72 | </tbody> |
68 | 73 | </table> |
| 74 | + |
| 75 | +{% assign windows_platform = include.release.platforms | where: 'platform', 'Windows' %} |
| 76 | +{% if windows_platform.size > 0 and include.release.date < swift_5_9_1_release_build.date %} |
| 77 | +<sup>1</sup> Swift {{ include.release.name }} {{ windows_platform.first.name }} toolchain is provided by <a href="https://github.com/compnerd">Saleem Abdulrasool</a>. Saleem is the platform champion for the Windows port of Swift and this is an official build from the Swift project. <br><br> |
| 78 | +{% endif %} |
0 commit comments