Skip to content

Commit 4ff8078

Browse files
committed
Fix swiftly file name references
1 parent adbab98 commit 4ff8078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/prep-gh-action.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ if [ "$installSwiftly" == true ]; then
3131
echo "Installing swiftly"
3232

3333
if [[ "$(uname -s)" == "Linux" ]]; then
34-
curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && tar zxf swiftly-*.tar.gz && ./swiftly init -y --skip-install
34+
curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && tar zxf swiftly.tar.gz && ./swiftly init -y --skip-install
3535
. "/root/.local/share/swiftly/env.sh"
3636
else
3737
export SWIFTLY_HOME_DIR="$(pwd)/swiftly-bootstrap"
3838
export SWIFTLY_BIN_DIR="$SWIFTLY_HOME_DIR/bin"
3939
export SWIFTLY_TOOLCHAINS_DIR="$SWIFTLY_HOME_DIR/toolchains"
4040

41-
curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && pkgutil --check-signature swiftly-*.pkg && pkgutil --verbose --expand swiftly-*.pkg "${SWIFTLY_HOME_DIR}" && tar -C "${SWIFTLY_HOME_DIR}" -xvf "${SWIFTLY_HOME_DIR}"/swiftly-*/Payload && "$SWIFTLY_HOME_DIR/bin/swiftly" init -y --skip-install
41+
curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && pkgutil --check-signature swiftly.pkg && pkgutil --verbose --expand swiftly.pkg "${SWIFTLY_HOME_DIR}" && tar -C "${SWIFTLY_HOME_DIR}" -xvf "${SWIFTLY_HOME_DIR}"/swiftly-*/Payload && "$SWIFTLY_HOME_DIR/bin/swiftly" init -y --skip-install
4242

4343
. "$SWIFTLY_HOME_DIR/env.sh"
4444
fi

0 commit comments

Comments
 (0)