From 439cc3032531e0903b9427da7b50832ba172cb1e Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Tue, 3 Sep 2024 17:42:54 +0100 Subject: [PATCH] change bootstrap script to use swift6 --- Sources/Resources/Scripts/bootstrap-tools | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Resources/Scripts/bootstrap-tools b/Sources/Resources/Scripts/bootstrap-tools index 50adb2e..9825ef9 100755 --- a/Sources/Resources/Scripts/bootstrap-tools +++ b/Sources/Resources/Scripts/bootstrap-tools @@ -36,7 +36,7 @@ fi set -euo pipefail # (add an x to flags to enable debugging) -LOCALTOOLS="$PWD/../ReleaseTools" +LOCALTOOLS="$PWD/../ReleaseTools-disabled" # TODO: re-enable this when we have a stable release if [[ -e "$LOCALTOOLS" ]] then RT="$LOCALTOOLS/.build/debug/rt" @@ -65,13 +65,13 @@ then else pushd "$RTSRC" > /dev/null git fetch - git checkout main + git checkout swift6 # TODO: change back to main when we have a stable release git pull fi echo "Updating release tools." fi - swift run builder build .. + swift run rt --version popd > /dev/null "$RT" bootstrap fi