File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ WASI_SDK_PATH=$SOURCE_PATH/wasi-sdk
88
99case $( uname -s) in
1010 Darwin)
11- OS_SUFFIX=macos-x86_64
11+ OS_SUFFIX=macos_x86_64
1212 HOST_PRESET=webassembly-host
1313 TARGET_PRESET=webassembly-macos-target
1414 HOST_SUFFIX=macosx-x86_64
1515 ;;
1616 Linux)
1717 if [ $( grep RELEASE /etc/lsb-release) == " DISTRIB_RELEASE=18.04" ]; then
18- OS_SUFFIX=ubuntu18.04-x86_64
18+ OS_SUFFIX=ubuntu18.04_x86_64
1919 elif [ $( grep RELEASE /etc/lsb-release) == " DISTRIB_RELEASE=20.04" ]; then
20- OS_SUFFIX=ubuntu20.04-x86_64
20+ OS_SUFFIX=ubuntu20.04_x86_64
2121 else
2222 echo " Unknown Ubuntu version"
2323 exit 1
Original file line number Diff line number Diff line change @@ -176,23 +176,23 @@ unzip ubuntu18.04-installable.zip
176176unzip ubuntu20.04-installable.zip
177177unzip macos-installable.zip
178178
179- toolchain_name=$( basename $( tar tfz swift-wasm-$channel -SNAPSHOT-ubuntu18.04-x86_64 .tar.gz | head -n1) )
179+ toolchain_name=$( basename $( tar tfz swift-wasm-$channel -SNAPSHOT-ubuntu18.04_x86_64 .tar.gz | head -n1) )
180180
181181if is_released $toolchain_name ; then
182182 echo " Latest toolchain $toolchain_name has been already released"
183183 exit 0
184184fi
185185
186186
187- mv swift-wasm-$channel -SNAPSHOT-ubuntu18.04-x86_64 .tar.gz " $toolchain_name -ubuntu18.04-x86_64 .tar.gz"
188- mv swift-wasm-$channel -SNAPSHOT-ubuntu20.04-x86_64 .tar.gz " $toolchain_name -ubuntu20.04-x86_64 .tar.gz"
189- package_darwin_toolchain " swift-wasm-$channel -SNAPSHOT-macos-x86_64 .tar.gz" " $toolchain_name -macos-x86_64 .pkg"
187+ mv swift-wasm-$channel -SNAPSHOT-ubuntu18.04_x86_64 .tar.gz " $toolchain_name -ubuntu18.04_x86_64 .tar.gz"
188+ mv swift-wasm-$channel -SNAPSHOT-ubuntu20.04_x86_64 .tar.gz " $toolchain_name -ubuntu20.04_x86_64 .tar.gz"
189+ package_darwin_toolchain " swift-wasm-$channel -SNAPSHOT-macos_x86_64 .tar.gz" " $toolchain_name -macos_x86_64 .pkg"
190190
191191create_tag $toolchain_name $head_sha
192192release_id=$( create_release $toolchain_name $toolchain_name $head_sha )
193193
194- upload_tarball $release_id " $toolchain_name -ubuntu18.04-x86_64 .tar.gz"
195- upload_tarball $release_id " $toolchain_name -ubuntu20.04-x86_64 .tar.gz"
196- upload_tarball $release_id " $toolchain_name -macos-x86_64 .pkg"
194+ upload_tarball $release_id " $toolchain_name -ubuntu18.04_x86_64 .tar.gz"
195+ upload_tarball $release_id " $toolchain_name -ubuntu20.04_x86_64 .tar.gz"
196+ upload_tarball $release_id " $toolchain_name -macos_x86_64 .pkg"
197197
198198popd
You can’t perform that action at this time.
0 commit comments