File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 18
18
19
19
case $( uname -s) in
20
20
Darwin)
21
- toolchain_download=" $swift_tag -macos-x86_64 .tar.gz"
21
+ toolchain_download=" $swift_tag -macos_x86_64 .tar.gz"
22
22
echo ' -macos' >> .swift-version
23
23
;;
24
24
Linux)
25
25
if [ $( grep RELEASE /etc/lsb-release) == " DISTRIB_RELEASE=18.04" ]; then
26
- toolchain_download=" $swift_tag -ubuntu18.04-x86_64.tar.gz"
27
- echo ' -ubuntu18.04' >> .swift-version
26
+ toolchain_download=" $swift_tag -ubuntu18.04_x86_64.tar.gz"
28
27
elif [ $( grep RELEASE /etc/lsb-release) == " DISTRIB_RELEASE=20.04" ]; then
29
- toolchain_download=" $swift_tag -ubuntu20.04-x86_64.tar.gz"
30
- echo ' -ubuntu20.04' >> .swift-version
28
+ toolchain_download=" $swift_tag -ubuntu20.04_x86_64.tar.gz"
31
29
else
32
30
echo " Unknown Ubuntu version"
33
31
exit 1
You can’t perform that action at this time.
0 commit comments