File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 2929 < span class ="release ">
3030
3131 {% if platform.name == "Windows 10" %}
32- < p title ="Download " download > {{ platform.name }} < sup > 2</ sup > </ p >
33-
32+ < p title ="Download " download > {{ platform.name }} < sup > 2</ sup > </ p >
33+ {% assign package_extension = 'exe' %}
3434 {% else %}
35- < p title ="Download " download > {{ platform.name }}</ p >
35+ < p title ="Download " download > {{ platform.name }}</ p >
36+ {% assign package_extension = 'tar.gz' %}
3637 {% endif %}
3738 </ span >
3839 </ td >
4647 {% assign platform_name = platform.name | remove : ' ' | downcase %}
4748 {% endif %}
4849 {% assign tag_downcase = include.platform.tag | downcase %}
49- < a href ="https://download.swift.org/{{ tag_downcase }}/{{ platform_name_url }}/{{ include.platform.tag}}/{{ include.platform.tag}}-{{ platform_name }}.tar.gz "> {{ arch }}</ a >
50- < a href ="https://download.swift.org/{{ tag_downcase }}/{{ platform_name_url }}/{{ include.platform.tag}}/{{ include.platform.tag}}-{{ platform_name }}.tar.gz .sig " title ="PGP Signature " class ="signature "> Signature ({{ arch }})</ a >
50+ < a href ="https://download.swift.org/{{ tag_downcase }}/{{ platform_name_url }}/{{ include.platform.tag}}/{{ include.platform.tag}}-{{ platform_name }}.{{ package_extension }} "> {{ arch }}</ a >
51+ < 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 >
5152 {% endfor %}
5253 </ td >
5354 < td class ="docker-tag ">
You can’t perform that action at this time.
0 commit comments