File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,14 @@ DESTINATION="${SOURCE_DIR}/swift-nightly-toolchain"
5
5
6
6
mkdir -p $DESTINATION
7
7
8
+ BASE_URL=" https://swift.org/builds/swift-5.3-branch"
9
+
8
10
install_linux () {
9
11
WORKSPACE=$( mktemp -d)
10
12
11
13
pushd ${WORKSPACE}
12
14
13
- BASE_URL=https://swift.org/builds/swift-5.3-branch/ubuntu1804
14
- export $( /usr/bin/curl ${BASE_URL} /latest-build.yml | grep ' download:' | sed ' s/:[^:\/\/]/=/g' )
15
+ export $( /usr/bin/curl ${BASE_URL} /ubuntu1804/latest-build.yml | grep ' download:' | sed ' s/:[^:\/\/]/=/g' )
15
16
16
17
DOWNLOAD_DIR=$( echo $download | sed " s/-ubuntu18.04.tar.gz//g" )
17
18
DOWNLOAD_URL=${BASE_URL} /${DOWNLOAD_DIR} /${download}
@@ -29,7 +30,6 @@ install_macos() {
29
30
30
31
pushd ${WORKSPACE}
31
32
32
- BASE_URL=https://swift.org/builds/development/
33
33
export $( /usr/bin/curl --silent ${BASE_URL} /xcode/latest-build.yml | grep ' download:' | sed ' s/:[^:\/\/]/=/g' )
34
34
35
35
DOWNLOAD_DIR=$( echo $download | sed " s/-osx.pkg//g" )
You can’t perform that action at this time.
0 commit comments