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 29
29
< span class ="release ">
30
30
31
31
{% 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' %}
34
34
{% else %}
35
- < p title ="Download " download > {{ platform.name }}</ p >
35
+ < p title ="Download " download > {{ platform.name }}</ p >
36
+ {% assign package_extension = 'tar.gz' %}
36
37
{% endif %}
37
38
</ span >
38
39
</ td >
46
47
{% assign platform_name = platform.name | remove : ' ' | downcase %}
47
48
{% endif %}
48
49
{% 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 >
51
52
{% endfor %}
52
53
</ td >
53
54
< td class ="docker-tag ">
You can’t perform that action at this time.
0 commit comments