1
1
{% assign tag = site.data.builds.swift_releases.last.tag %}
2
2
{% assign tag_downcase = site.data.builds.swift_releases.last.tag | downcase %}
3
- {% assign platform_name_url = include.platform | remove: '.' | remove: ' ' | downcase %}
3
+ {% assign platform_release_name_url = include.platform | remove: '.' | remove: ' ' | downcase %}
4
4
{% assign platform_name = include.platform | remove : ' ' | downcase %}
5
5
{% assign platform = site.data.builds.swift_releases.last.platforms | where: 'dir', include.platform_name_url | first %}
6
6
{% unless platform %}
@@ -35,10 +35,10 @@ <h2>Tarball</h2>
35
35
< div class ="link-wrapper ">
36
36
{%- for arch in platform.archs -%}
37
37
< div class ="link-group ">
38
- < a class ="body-copy " href ="https://download.swift.org/{{ tag_downcase }}/{{ platform_name_url }}{% if arch != "x86_64 " %}-{{ arch }}{% endif %}/{{ tag }}/{{ tag }}-{{ platform_name }}{% if arch != "x86_64 " %}-{{ arch }}{% endif %}.tar.gz " class="cta-secondary ">
38
+ < a class ="body-copy " href ="https://download.swift.org/{{ tag_downcase }}/{{ platform_release_name_url }}{% if arch != "x86_64 " %}-{{ arch }}{% endif %}/{{ tag }}/{{ tag }}-{{ platform_name }}{% if arch != "x86_64 " %}-{{ arch }}{% endif %}.tar.gz " class="cta-secondary ">
39
39
Download ({{ arch }})
40
40
</ a > |
41
- < a class ="body-copy " href ="https://download.swift.org/{{ tag_downcase }}/{{ platform_name_url }}{% if arch != "x86_64 " %}-{{ arch }}{% endif %}/{{ tag }}/{{ tag }}-{{ platform_name }}{% if arch != "x86_64 " %}-{{ arch }}{% endif %}.tar.gz.sig " >
41
+ < a class ="body-copy " href ="https://download.swift.org/{{ tag_downcase }}/{{ platform_release_name_url }}{% if arch != "x86_64 " %}-{{ arch }}{% endif %}/{{ tag }}/{{ tag }}-{{ platform_name }}{% if arch != "x86_64 " %}-{{ arch }}{% endif %}.tar.gz.sig " >
42
42
{{- arch -}}
43
43
</ a >
44
44
</ div >
@@ -103,14 +103,14 @@ <h2>{{ include.development }}</h2>
103
103
</ p >
104
104
< div class ="link-wrapper ">
105
105
< div class ="link-group ">
106
- < a href ="https://download.swift.org/{{ include.branch_dir }}/{{ platform_name_url }}/{{ development_builds.first.dir }}/{{ development_builds.first.download }} " class ="body-copy "> Download (x86_64)</ a > |
107
- < a href ="https://download.swift.org/{{ include.branch_dir }}/{{ platform_name_url }}/{{ development_builds.first.dir }}/{{ development_builds.first.download_signature }} " class ="body-copy "> Signature (PGP)</ a >
106
+ < a href ="https://download.swift.org/{{ include.branch_dir }}/{{ platform_release_name_url }}/{{ development_builds.first.dir }}/{{ development_builds.first.download }} " class ="body-copy "> Download (x86_64)</ a > |
107
+ < a href ="https://download.swift.org/{{ include.branch_dir }}/{{ platform_release_name_url }}/{{ development_builds.first.dir }}/{{ development_builds.first.download_signature }} " class ="body-copy "> Signature (PGP)</ a >
108
108
</ div >
109
109
</ div >
110
110
< div class ="link-wrapper ">
111
111
< div class ="link-group ">
112
- < a href ="https://download.swift.org/{{ include.branch_dir }}/{{ platform_name_url }}-aarch64/{{ aarch64_development_builds.first.dir }}/{{ aarch64_development_builds.first.download }} " class ="body-copy "> Download (aarch64)</ a > |
113
- < a href ="https://download.swift.org/{{ include.branch_dir }}/{{ platform_name_url }}-aarch64/{{ aarch64_development_builds.first.dir }}/{{ aarch64_development_builds.first.download_signature }} " class ="body-copy "> Signature (PGP)</ a >
112
+ < a href ="https://download.swift.org/{{ include.branch_dir }}/{{ platform_release_name_url }}-aarch64/{{ aarch64_development_builds.first.dir }}/{{ aarch64_development_builds.first.download }} " class ="body-copy "> Download (aarch64)</ a > |
113
+ < a href ="https://download.swift.org/{{ include.branch_dir }}/{{ platform_release_name_url }}-aarch64/{{ aarch64_development_builds.first.dir }}/{{ aarch64_development_builds.first.download_signature }} " class ="body-copy "> Signature (PGP)</ a >
114
114
</ div >
115
115
</ div >
116
116
< div class ="link-wrapper ">
@@ -128,14 +128,14 @@ <h2>{{ include.development_2 }}</h2>
128
128
</ p >
129
129
< div class ="link-wrapper ">
130
130
< div class ="link-group ">
131
- < a href ="https://download.swift.org/{{ include.branch_dir_2 }}/{{ platform_name_url }}/{{ development_builds_2.first.dir }}/{{ development_builds_2.first.download }} " class ="body-copy "> Download (x86_64)</ a > |
132
- < a href ="https://download.swift.org/{{ include.branch_dir_2 }}/{{ platform_name_url }}/{{ development_builds_2.first.dir }}/{{ development_builds_2.first.download_signature }} " class ="body-copy "> Signature (PGP)</ a >
131
+ < a href ="https://download.swift.org/{{ include.branch_dir_2 }}/{{ platform_release_name_url }}/{{ development_builds_2.first.dir }}/{{ development_builds_2.first.download }} " class ="body-copy "> Download (x86_64)</ a > |
132
+ < a href ="https://download.swift.org/{{ include.branch_dir_2 }}/{{ platform_release_name_url }}/{{ development_builds_2.first.dir }}/{{ development_builds_2.first.download_signature }} " class ="body-copy "> Signature (PGP)</ a >
133
133
</ div >
134
134
</ div >
135
135
< div class ="link-wrapper ">
136
136
< div class ="link-group ">
137
- < a href ="https://download.swift.org/{{ include.branch_dir_2 }}/{{ platform_name_url }}-aarch64/{{ aarch64_development_builds_2.first.dir }}/{{ aarch64_development_builds_2.first.download }} " class ="body-copy "> Download (aarch64)</ a > |
138
- < a href ="https://download.swift.org/{{ include.branch_dir_2 }}/{{ platform_name_url }}-aarch64/{{ aarch64_development_builds_2.first.dir }}/{{ aarch64_development_builds_2.first.download_signature }} " class ="body-copy "> Signature (PGP)</ a >
137
+ < a href ="https://download.swift.org/{{ include.branch_dir_2 }}/{{ platform_release_name_url }}-aarch64/{{ aarch64_development_builds_2.first.dir }}/{{ aarch64_development_builds_2.first.download }} " class ="body-copy "> Download (aarch64)</ a > |
138
+ < a href ="https://download.swift.org/{{ include.branch_dir_2 }}/{{ platform_release_name_url }}-aarch64/{{ aarch64_development_builds_2.first.dir }}/{{ aarch64_development_builds_2.first.download_signature }} " class ="body-copy "> Signature (PGP)</ a >
139
139
</ div >
140
140
</ div >
141
141
< div class ="link-wrapper ">
@@ -149,15 +149,15 @@ <h2>{{ include.development_2 }}</h2>
149
149
< div class ="content ">
150
150
< details class ="download ">
151
151
< summary > Previous Snapshots (main)</ summary >
152
- {% include install/_older_snapshots.md builds=development_builds name=platform platform_dir=platform_name_url branch_dir=branch_dir %}
152
+ {% include install/_older_snapshots.md builds=development_builds name=platform platform_dir=platform_release_name_url branch_dir=branch_dir %}
153
153
</ details >
154
154
</ div >
155
155
</ div >
156
156
< div class ="release-box section ">
157
157
< div class ="content ">
158
158
< details class ="download ">
159
159
< summary > Previous Snapshots (release/6.2)</ summary >
160
- {% include install/_older_snapshots.md builds=development_builds_2 name=platform platform_dir=platform_name_url branch_dir=branch_dir_2 %}
160
+ {% include install/_older_snapshots.md builds=development_builds_2 name=platform platform_dir=platform_release_name_url branch_dir=branch_dir_2 %}
161
161
</ details >
162
162
</ div >
163
163
</ div >
0 commit comments