Skip to content

Commit e14ee9d

Browse files
committed
Update .swift-version
1 parent 3601a34 commit e14ee9d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Diff for: .swift-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
wasm-5.3-SNAPSHOT-2020-10-16-a
1+
wasm-5.3-SNAPSHOT-2020-10-20-a

Diff for: scripts/install-toolchain.sh

+3-6
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,13 @@ fi
1818

1919
case $(uname -s) in
2020
Darwin)
21-
toolchain_download="$swift_tag-macos-x86_64.tar.gz"
22-
echo '-macos' >> .swift-version
21+
toolchain_download="$swift_tag-macos_x86_64.pkg"
2322
;;
2423
Linux)
2524
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
25+
toolchain_download="$swift_tag-ubuntu18.04_x86_64.tar.gz"
2826
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
27+
toolchain_download="$swift_tag-ubuntu20.04_x86_64.tar.gz"
3128
else
3229
echo "Unknown Ubuntu version"
3330
exit 1

0 commit comments

Comments
 (0)