Skip to content

Commit

Permalink
[Wasm] Fix distribution script broken since 3be7ec1
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Apr 1, 2022
1 parent 8a5a820 commit b36d317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/webassembly/distribute-latest-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ if is_released $toolchain_name; then
fi

for target in ${targets[@]}; do
original_toolchain_name=$(basename $(tar tfz swift-wasm-$channel-SNAPSHOT-$targets.tar.gz | head -n1))
original_toolchain_name=$(basename $(tar tfz swift-wasm-$channel-SNAPSHOT-$target.tar.gz | head -n1))
if [[ "$toolchain_name" != "$original_toolchain_name" ]]; then
tar xfz swift-wasm-$channel-SNAPSHOT-$target.tar.gz
mv "$original_toolchain_name" "$toolchain_name"
Expand Down

0 comments on commit b36d317

Please sign in to comment.