From 5836da77fe9740792d618c5bdba81ed319c392f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20V=C3=A1radi?= <1783465+vzsg@users.noreply.github.com> Date: Sat, 21 Sep 2024 09:47:00 +0200 Subject: [PATCH] Static linking and backtrace after Swift 5.9 (#77) * Link binary statically for drastic image size reductions * Copy swift-backtrace binary to final image * Set SWIFT_BACKTRACE env var automatically to enable it * Remove support for old versions of Swift, add Swift 6.0 * Use fast symbolication --- README.md | 17 ++++--- bin/compile | 13 +---- bin/steps/clang | 9 ---- bin/steps/swift-build | 2 +- bin/steps/swift-install | 5 +- swiftenv/share/swiftenv-build/2.2 | 7 --- swiftenv/share/swiftenv-build/2.2-dev | 7 --- swiftenv/share/swiftenv-build/2.2.1 | 7 --- swiftenv/share/swiftenv-build/3.0 | 13 ----- swiftenv/share/swiftenv-build/3.0-dev | 13 ----- swiftenv/share/swiftenv-build/3.0.1 | 13 ----- swiftenv/share/swiftenv-build/3.0.2 | 13 ----- swiftenv/share/swiftenv-build/3.1 | 13 ----- swiftenv/share/swiftenv-build/3.1-dev | 13 ----- swiftenv/share/swiftenv-build/3.1.1 | 13 ----- swiftenv/share/swiftenv-build/4.0 | 13 ----- swiftenv/share/swiftenv-build/4.0-dev | 13 ----- swiftenv/share/swiftenv-build/4.0.2 | 13 ----- swiftenv/share/swiftenv-build/4.0.3 | 13 ----- swiftenv/share/swiftenv-build/4.1 | 13 ----- swiftenv/share/swiftenv-build/4.1-dev | 13 ----- swiftenv/share/swiftenv-build/4.2-dev | 13 ----- swiftenv/share/swiftenv-build/5.0-dev | 13 ----- swiftenv/share/swiftenv-install/3.0 | 24 ---------- swiftenv/share/swiftenv-install/3.0.1 | 28 ----------- swiftenv/share/swiftenv-install/3.0.2 | 24 ---------- swiftenv/share/swiftenv-install/3.1 | 28 ----------- swiftenv/share/swiftenv-install/3.1.1 | 28 ----------- swiftenv/share/swiftenv-install/4.0 | 28 ----------- swiftenv/share/swiftenv-install/4.0.2 | 28 ----------- swiftenv/share/swiftenv-install/4.0.3 | 28 ----------- swiftenv/share/swiftenv-install/4.1 | 28 ----------- swiftenv/share/swiftenv-install/4.1.1 | 28 ----------- swiftenv/share/swiftenv-install/4.1.2 | 28 ----------- swiftenv/share/swiftenv-install/4.1.3 | 28 ----------- swiftenv/share/swiftenv-install/4.2 | 31 ------------ swiftenv/share/swiftenv-install/4.2.1 | 31 ------------ swiftenv/share/swiftenv-install/4.2.2 | 31 ------------ swiftenv/share/swiftenv-install/4.2.3 | 31 ------------ swiftenv/share/swiftenv-install/4.2.4 | 31 ------------ swiftenv/share/swiftenv-install/5.0 | 31 ------------ swiftenv/share/swiftenv-install/5.0.1 | 31 ------------ swiftenv/share/swiftenv-install/5.0.2 | 31 ------------ swiftenv/share/swiftenv-install/5.0.3 | 31 ------------ swiftenv/share/swiftenv-install/5.1 | 31 ------------ swiftenv/share/swiftenv-install/5.1.1 | 31 ------------ swiftenv/share/swiftenv-install/5.1.2 | 31 ------------ swiftenv/share/swiftenv-install/5.1.3 | 31 ------------ swiftenv/share/swiftenv-install/5.1.4 | 31 ------------ swiftenv/share/swiftenv-install/5.1.5 | 31 ------------ swiftenv/share/swiftenv-install/5.2 | 36 -------------- .../5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a | 36 -------------- .../5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a | 36 -------------- swiftenv/share/swiftenv-install/5.2.1 | 36 -------------- swiftenv/share/swiftenv-install/5.2.2 | 36 -------------- swiftenv/share/swiftenv-install/5.2.3 | 36 -------------- swiftenv/share/swiftenv-install/5.2.4 | 39 --------------- swiftenv/share/swiftenv-install/5.2.5 | 39 --------------- swiftenv/share/swiftenv-install/5.3 | 39 --------------- swiftenv/share/swiftenv-install/5.3.1 | 39 --------------- swiftenv/share/swiftenv-install/5.3.2 | 39 --------------- swiftenv/share/swiftenv-install/5.3.3 | 39 --------------- swiftenv/share/swiftenv-install/5.4 | 39 --------------- swiftenv/share/swiftenv-install/5.4.1 | 39 --------------- swiftenv/share/swiftenv-install/5.4.2 | 39 --------------- swiftenv/share/swiftenv-install/5.4.3 | 39 --------------- swiftenv/share/swiftenv-install/5.5 | 39 --------------- .../5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a | 39 --------------- .../5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a | 39 --------------- swiftenv/share/swiftenv-install/5.5.1 | 39 --------------- swiftenv/share/swiftenv-install/5.5.2 | 39 --------------- swiftenv/share/swiftenv-install/5.5.3 | 39 --------------- swiftenv/share/swiftenv-install/5.6 | 44 ----------------- swiftenv/share/swiftenv-install/5.6.1 | 44 ----------------- swiftenv/share/swiftenv-install/5.6.2 | 44 ----------------- swiftenv/share/swiftenv-install/5.6.3 | 44 ----------------- swiftenv/share/swiftenv-install/5.7 | 38 --------------- swiftenv/share/swiftenv-install/5.7.1 | 38 --------------- swiftenv/share/swiftenv-install/5.7.2 | 38 --------------- swiftenv/share/swiftenv-install/5.7.3 | 38 --------------- swiftenv/share/swiftenv-install/5.8 | 38 --------------- swiftenv/share/swiftenv-install/5.8.1 | 38 --------------- .../5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a | 38 --------------- swiftenv/share/swiftenv-install/6.0 | 47 +++++++++++++++++++ 84 files changed, 63 insertions(+), 2321 deletions(-) delete mode 100644 bin/steps/clang delete mode 100644 swiftenv/share/swiftenv-build/2.2 delete mode 100644 swiftenv/share/swiftenv-build/2.2-dev delete mode 100644 swiftenv/share/swiftenv-build/2.2.1 delete mode 100644 swiftenv/share/swiftenv-build/3.0 delete mode 100644 swiftenv/share/swiftenv-build/3.0-dev delete mode 100644 swiftenv/share/swiftenv-build/3.0.1 delete mode 100644 swiftenv/share/swiftenv-build/3.0.2 delete mode 100644 swiftenv/share/swiftenv-build/3.1 delete mode 100644 swiftenv/share/swiftenv-build/3.1-dev delete mode 100644 swiftenv/share/swiftenv-build/3.1.1 delete mode 100644 swiftenv/share/swiftenv-build/4.0 delete mode 100644 swiftenv/share/swiftenv-build/4.0-dev delete mode 100644 swiftenv/share/swiftenv-build/4.0.2 delete mode 100644 swiftenv/share/swiftenv-build/4.0.3 delete mode 100644 swiftenv/share/swiftenv-build/4.1 delete mode 100644 swiftenv/share/swiftenv-build/4.1-dev delete mode 100644 swiftenv/share/swiftenv-build/4.2-dev delete mode 100644 swiftenv/share/swiftenv-build/5.0-dev delete mode 100644 swiftenv/share/swiftenv-install/3.0 delete mode 100644 swiftenv/share/swiftenv-install/3.0.1 delete mode 100644 swiftenv/share/swiftenv-install/3.0.2 delete mode 100644 swiftenv/share/swiftenv-install/3.1 delete mode 100644 swiftenv/share/swiftenv-install/3.1.1 delete mode 100644 swiftenv/share/swiftenv-install/4.0 delete mode 100644 swiftenv/share/swiftenv-install/4.0.2 delete mode 100644 swiftenv/share/swiftenv-install/4.0.3 delete mode 100644 swiftenv/share/swiftenv-install/4.1 delete mode 100644 swiftenv/share/swiftenv-install/4.1.1 delete mode 100644 swiftenv/share/swiftenv-install/4.1.2 delete mode 100644 swiftenv/share/swiftenv-install/4.1.3 delete mode 100644 swiftenv/share/swiftenv-install/4.2 delete mode 100644 swiftenv/share/swiftenv-install/4.2.1 delete mode 100644 swiftenv/share/swiftenv-install/4.2.2 delete mode 100644 swiftenv/share/swiftenv-install/4.2.3 delete mode 100644 swiftenv/share/swiftenv-install/4.2.4 delete mode 100644 swiftenv/share/swiftenv-install/5.0 delete mode 100644 swiftenv/share/swiftenv-install/5.0.1 delete mode 100644 swiftenv/share/swiftenv-install/5.0.2 delete mode 100644 swiftenv/share/swiftenv-install/5.0.3 delete mode 100644 swiftenv/share/swiftenv-install/5.1 delete mode 100644 swiftenv/share/swiftenv-install/5.1.1 delete mode 100644 swiftenv/share/swiftenv-install/5.1.2 delete mode 100644 swiftenv/share/swiftenv-install/5.1.3 delete mode 100644 swiftenv/share/swiftenv-install/5.1.4 delete mode 100644 swiftenv/share/swiftenv-install/5.1.5 delete mode 100644 swiftenv/share/swiftenv-install/5.2 delete mode 100644 swiftenv/share/swiftenv-install/5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a delete mode 100644 swiftenv/share/swiftenv-install/5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a delete mode 100644 swiftenv/share/swiftenv-install/5.2.1 delete mode 100644 swiftenv/share/swiftenv-install/5.2.2 delete mode 100644 swiftenv/share/swiftenv-install/5.2.3 delete mode 100644 swiftenv/share/swiftenv-install/5.2.4 delete mode 100644 swiftenv/share/swiftenv-install/5.2.5 delete mode 100644 swiftenv/share/swiftenv-install/5.3 delete mode 100644 swiftenv/share/swiftenv-install/5.3.1 delete mode 100644 swiftenv/share/swiftenv-install/5.3.2 delete mode 100644 swiftenv/share/swiftenv-install/5.3.3 delete mode 100644 swiftenv/share/swiftenv-install/5.4 delete mode 100644 swiftenv/share/swiftenv-install/5.4.1 delete mode 100644 swiftenv/share/swiftenv-install/5.4.2 delete mode 100644 swiftenv/share/swiftenv-install/5.4.3 delete mode 100644 swiftenv/share/swiftenv-install/5.5 delete mode 100644 swiftenv/share/swiftenv-install/5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a delete mode 100644 swiftenv/share/swiftenv-install/5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a delete mode 100644 swiftenv/share/swiftenv-install/5.5.1 delete mode 100644 swiftenv/share/swiftenv-install/5.5.2 delete mode 100644 swiftenv/share/swiftenv-install/5.5.3 delete mode 100644 swiftenv/share/swiftenv-install/5.6 delete mode 100644 swiftenv/share/swiftenv-install/5.6.1 delete mode 100644 swiftenv/share/swiftenv-install/5.6.2 delete mode 100644 swiftenv/share/swiftenv-install/5.6.3 delete mode 100644 swiftenv/share/swiftenv-install/5.7 delete mode 100644 swiftenv/share/swiftenv-install/5.7.1 delete mode 100644 swiftenv/share/swiftenv-install/5.7.2 delete mode 100644 swiftenv/share/swiftenv-install/5.7.3 delete mode 100644 swiftenv/share/swiftenv-install/5.8 delete mode 100644 swiftenv/share/swiftenv-install/5.8.1 delete mode 100644 swiftenv/share/swiftenv-install/5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a create mode 100644 swiftenv/share/swiftenv-install/6.0 diff --git a/README.md b/README.md index b13396c1..e5b84bf8 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,9 @@ $ heroku create --buildpack vapor/vapor $ git push heroku main remote: -----> Swift app detected -remote: -----> Using Swift 5.10.1 (default) -remote: -----> Using built-in clang (Swift 5.10.1) +remote: -----> Using Swift 6.0 (default) remote: -----> Installing swiftenv -remote: -----> Installing Swift 5.10.1 +remote: -----> Installing Swift 6.0 ... ``` @@ -50,9 +49,9 @@ web: Run --env=production --port=$PORT ### Specify a Swift version -The buildpack defaults to Swift 5.10.1 and will be updated when new Swift versions are released. +The buildpack defaults to Swift 6.0, but is compatible with Swift 5.9 - 5.10.1. -If you need to use a specific version of the Swift toolchain, including older versions – for example Swift 4.2.x to retain compatibility with Swift 3 projects, or a previous version as you run into issues with the latest – you can pin any version number using a file called `.swift-version` in the root of the project folder, or by setting a `SWIFT_VERSION` configuration variable on Heroku, then deploying again. +If you need to use a specific older version of the Swift toolchain from this range, you can pin the version number using a file called `.swift-version` in the root of the project folder, or by setting a `SWIFT_VERSION` configuration variable on Heroku, then deploying again. ```shell $ echo '5.9.2' > .swift-version @@ -69,7 +68,13 @@ $ git commit -m "Pin Swift version to 5.9.2" --allow-empty $ git push heroku main ``` -The version format used file is compatible with [swiftenv](http://github.com/kylef/swiftenv). +#### Legacy versions + +If your project requires an even older version of Swift, you can use a previous release of the buildpack via an old tag. + +```shell +$ heroku buildpacks:set https://github.com/vapor-community/heroku-buildpack.git#5101-release +``` ### Active build configuration diff --git a/bin/compile b/bin/compile index c81fc935..4db26fc8 100755 --- a/bin/compile +++ b/bin/compile @@ -11,9 +11,7 @@ BUILD_DIR=$1 CACHE_DIR=$2 ENV_DIR=$3 -CLANG_VERSION=7.0.1 - -SWIFT_VERSION="5.10.1" +SWIFT_VERSION="6.0" SWIFT_BUILD_CONFIGURATION="release" SWIFT_BUILD_FLAGS="" @@ -38,15 +36,7 @@ if [ -f "$ENV_DIR/SWIFT_BUILD_FLAGS" ]; then SWIFT_BUILD_FLAGS=`cat "$ENV_DIR/SWIFT_BUILD_FLAGS"` fi - mkdir -p "$CACHE_DIR/$STACK" - -if [[ $SWIFT_VERSION = 5* ]]; then - puts-step "Using built-in clang (Swift $SWIFT_VERSION)" -else - source "$BIN_DIR/steps/clang" -fi - source "$BIN_DIR/steps/swiftenv" cd $BUILD_DIR @@ -65,3 +55,4 @@ mkdir -p $BUILD_DIR/.profile.d set-env PATH '$HOME/.swift-bin:$PATH' set-env LD_LIBRARY_PATH '$LD_LIBRARY_PATH:$HOME/.swift-lib' +set-env SWIFT_BACKTRACE 'enable=yes,sanitize=yes,threads=all,images=all,interactive=no,output-to=stderr,symbolicate=fast,swift-backtrace=.swift-bin/swift-backtrace-static' diff --git a/bin/steps/clang b/bin/steps/clang deleted file mode 100644 index 0be01183..00000000 --- a/bin/steps/clang +++ /dev/null @@ -1,9 +0,0 @@ -if [[ ! -d "$CACHE_DIR/$STACK/clang-$CLANG_VERSION" ]]; then - puts-step "Installing clang $CLANG_VERSION" - mkdir -p "$CACHE_DIR/$STACK/clang-$CLANG_VERSION" - curl http://releases.llvm.org/$CLANG_VERSION/clang+llvm-$CLANG_VERSION-x86_64-linux-gnu-ubuntu-$DISTRIB_RELEASE.tar.xz -s -L | xz -d -c | tar x -C $CACHE_DIR/$STACK/clang-$CLANG_VERSION --strip 1 &> /dev/null -else - puts-step "Using cached clang-$CLANG_VERSION" -fi - -export PATH="$CACHE_DIR/$STACK/clang-$CLANG_VERSION/bin:$PATH" diff --git a/bin/steps/swift-build b/bin/steps/swift-build index d0a30600..ba0820db 100644 --- a/bin/steps/swift-build +++ b/bin/steps/swift-build @@ -1,2 +1,2 @@ puts-step "Building package ($SWIFT_BUILD_CONFIGURATION configuration)" -swift build $SWIFT_BUILD_FLAGS -c "$SWIFT_BUILD_CONFIGURATION" +swift build $SWIFT_BUILD_FLAGS -c "$SWIFT_BUILD_CONFIGURATION" --static-swift-stdlib \ No newline at end of file diff --git a/bin/steps/swift-install b/bin/steps/swift-install index 40bba8e1..39a2912c 100644 --- a/bin/steps/swift-install +++ b/bin/steps/swift-install @@ -1,15 +1,14 @@ DYNAMIC_LIBRARY_REGEX=".*\.so\(\.[0-9]+\)*\'" +SWIFT_PREFIX="$(swiftenv prefix)" puts-step "Installing dynamic libraries" mkdir -p $BUILD_DIR/.swift-lib -SWIFT_PREFIX="$(swiftenv prefix)" -find -L $SWIFT_PREFIX/usr/lib/swift/linux -regex "$DYNAMIC_LIBRARY_REGEX" -type f -exec cp -a {} $BUILD_DIR/.swift-lib \; || true 2>/dev/null find -L .build/$SWIFT_BUILD_CONFIGURATION -regex "$DYNAMIC_LIBRARY_REGEX" -type f -exec cp -a {} $BUILD_DIR/.swift-lib \; || true 2>/dev/null -cp -a /usr/lib/x86_64-linux-gnu/libatomic* $BUILD_DIR/.swift-lib puts-step "Installing binaries" mkdir -p $BUILD_DIR/.swift-bin find -L .build/$SWIFT_BUILD_CONFIGURATION ! -regex "$DYNAMIC_LIBRARY_REGEX" -type f -perm /a+x -exec cp -a {} $BUILD_DIR/.swift-bin \; || true 2>/dev/null +cp -a $SWIFT_PREFIX/usr/libexec/swift/linux/swift-backtrace-static $BUILD_DIR/.swift-bin puts-step "Installing resources" find -L .build/$SWIFT_BUILD_CONFIGURATION/* -regex '.*\.resources$' -exec cp -a {} $BUILD_DIR/.swift-bin \; || true 2>/dev/null diff --git a/swiftenv/share/swiftenv-build/2.2 b/swiftenv/share/swiftenv-build/2.2 deleted file mode 100644 index 01a16ff5..00000000 --- a/swiftenv/share/swiftenv-build/2.2 +++ /dev/null @@ -1,7 +0,0 @@ -TAG="swift-2.2-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -build_swift diff --git a/swiftenv/share/swiftenv-build/2.2-dev b/swiftenv/share/swiftenv-build/2.2-dev deleted file mode 100644 index 978c8a67..00000000 --- a/swiftenv/share/swiftenv-build/2.2-dev +++ /dev/null @@ -1,7 +0,0 @@ -BRANCH="swift-2.2-branch" -fetch_git swift $BRANCH swift -fetch_git swift-llvm $BRANCH llvm -fetch_git swift-clang $BRANCH clang -fetch_git swift-lldb $BRANCH lldb -fetch_git swift-cmark $BRANCH cmark -build_swift diff --git a/swiftenv/share/swiftenv-build/2.2.1 b/swiftenv/share/swiftenv-build/2.2.1 deleted file mode 100644 index 554236f3..00000000 --- a/swiftenv/share/swiftenv-build/2.2.1 +++ /dev/null @@ -1,7 +0,0 @@ -TAG="swift-2.2.1-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -build_swift diff --git a/swiftenv/share/swiftenv-build/3.0 b/swiftenv/share/swiftenv-build/3.0 deleted file mode 100644 index 87a7dae3..00000000 --- a/swiftenv/share/swiftenv-build/3.0 +++ /dev/null @@ -1,13 +0,0 @@ -TAG="swift-3.0-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -fetch_github_release swift-llbuild $TAG llbuild -fetch_github_release swift-package-manager $TAG swiftpm -fetch_github_release swift-compiler-rt $TAG compiler-rt -fetch_github_release swift-corelibs-xctest $TAG swift-corelibs-xctest -fetch_github_release swift-corelibs-foundation $TAG swift-corelibs-foundation -fetch_github_release swift-corelibs-libdispatch $TAG swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/3.0-dev b/swiftenv/share/swiftenv-build/3.0-dev deleted file mode 100644 index e839a66f..00000000 --- a/swiftenv/share/swiftenv-build/3.0-dev +++ /dev/null @@ -1,13 +0,0 @@ -BRANCH="swift-3.0-branch" -fetch_git swift $BRANCH swift -fetch_git swift-llvm $BRANCH llvm -fetch_git swift-clang $BRANCH clang -fetch_git swift-lldb $BRANCH lldb -fetch_git swift-cmark $BRANCH cmark -fetch_git swift-llbuild $BRANCH llbuild -fetch_git swift-package-manager $BRANCH swiftpm -fetch_git swift-compiler-rt $BRANCH compiler-rt -fetch_git swift-corelibs-xctest $BRANCH swift-corelibs-xctest -fetch_git swift-corelibs-foundation $BRANCH swift-corelibs-foundation -fetch_git swift-corelibs-libdispatch $BRANCH swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/3.0.1 b/swiftenv/share/swiftenv-build/3.0.1 deleted file mode 100644 index 0d3f9eae..00000000 --- a/swiftenv/share/swiftenv-build/3.0.1 +++ /dev/null @@ -1,13 +0,0 @@ -TAG="swift-3.0.1-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -fetch_github_release swift-llbuild $TAG llbuild -fetch_github_release swift-package-manager $TAG swiftpm -fetch_github_release swift-compiler-rt $TAG compiler-rt -fetch_github_release swift-corelibs-xctest $TAG swift-corelibs-xctest -fetch_github_release swift-corelibs-foundation $TAG swift-corelibs-foundation -fetch_github_release swift-corelibs-libdispatch $TAG swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/3.0.2 b/swiftenv/share/swiftenv-build/3.0.2 deleted file mode 100644 index aa3701bb..00000000 --- a/swiftenv/share/swiftenv-build/3.0.2 +++ /dev/null @@ -1,13 +0,0 @@ -TAG="swift-3.0.2-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -fetch_github_release swift-llbuild $TAG llbuild -fetch_github_release swift-package-manager $TAG swiftpm -fetch_github_release swift-compiler-rt $TAG compiler-rt -fetch_github_release swift-corelibs-xctest $TAG swift-corelibs-xctest -fetch_github_release swift-corelibs-foundation $TAG swift-corelibs-foundation -fetch_github_release swift-corelibs-libdispatch $TAG swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/3.1 b/swiftenv/share/swiftenv-build/3.1 deleted file mode 100644 index 9ae2985e..00000000 --- a/swiftenv/share/swiftenv-build/3.1 +++ /dev/null @@ -1,13 +0,0 @@ -TAG="swift-3.1-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -fetch_github_release swift-llbuild $TAG llbuild -fetch_github_release swift-package-manager $TAG swiftpm -fetch_github_release swift-compiler-rt $TAG compiler-rt -fetch_github_release swift-corelibs-xctest $TAG swift-corelibs-xctest -fetch_github_release swift-corelibs-foundation $TAG swift-corelibs-foundation -fetch_github_release swift-corelibs-libdispatch $TAG swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/3.1-dev b/swiftenv/share/swiftenv-build/3.1-dev deleted file mode 100644 index 7ed57b7a..00000000 --- a/swiftenv/share/swiftenv-build/3.1-dev +++ /dev/null @@ -1,13 +0,0 @@ -BRANCH="swift-3.1-branch" -fetch_git swift $BRANCH swift -fetch_git swift-llvm $BRANCH llvm -fetch_git swift-clang $BRANCH clang -fetch_git swift-lldb $BRANCH lldb -fetch_git swift-cmark $BRANCH cmark -fetch_git swift-llbuild $BRANCH llbuild -fetch_git swift-package-manager $BRANCH swiftpm -fetch_git swift-compiler-rt $BRANCH compiler-rt -fetch_git swift-corelibs-xctest $BRANCH swift-corelibs-xctest -fetch_git swift-corelibs-foundation $BRANCH swift-corelibs-foundation -fetch_git swift-corelibs-libdispatch $BRANCH swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/3.1.1 b/swiftenv/share/swiftenv-build/3.1.1 deleted file mode 100644 index f2bfc789..00000000 --- a/swiftenv/share/swiftenv-build/3.1.1 +++ /dev/null @@ -1,13 +0,0 @@ -TAG="swift-3.1.1-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -fetch_github_release swift-llbuild $TAG llbuild -fetch_github_release swift-package-manager $TAG swiftpm -fetch_github_release swift-compiler-rt $TAG compiler-rt -fetch_github_release swift-corelibs-xctest $TAG swift-corelibs-xctest -fetch_github_release swift-corelibs-foundation $TAG swift-corelibs-foundation -fetch_github_release swift-corelibs-libdispatch $TAG swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/4.0 b/swiftenv/share/swiftenv-build/4.0 deleted file mode 100644 index ffe42f7b..00000000 --- a/swiftenv/share/swiftenv-build/4.0 +++ /dev/null @@ -1,13 +0,0 @@ -TAG="swift-4.0-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -fetch_github_release swift-llbuild $TAG llbuild -fetch_github_release swift-package-manager $TAG swiftpm -fetch_github_release swift-compiler-rt $TAG compiler-rt -fetch_github_release swift-corelibs-xctest $TAG swift-corelibs-xctest -fetch_github_release swift-corelibs-foundation $TAG swift-corelibs-foundation -fetch_github_release swift-corelibs-libdispatch $TAG swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/4.0-dev b/swiftenv/share/swiftenv-build/4.0-dev deleted file mode 100644 index ae8720b8..00000000 --- a/swiftenv/share/swiftenv-build/4.0-dev +++ /dev/null @@ -1,13 +0,0 @@ -BRANCH="swift-4.0-branch" -fetch_git swift $BRANCH swift -fetch_git swift-llvm $BRANCH llvm -fetch_git swift-clang $BRANCH clang -fetch_git swift-lldb $BRANCH lldb -fetch_git swift-cmark $BRANCH cmark -fetch_git swift-llbuild $BRANCH llbuild -fetch_git swift-package-manager $BRANCH swiftpm -fetch_git swift-compiler-rt $BRANCH compiler-rt -fetch_git swift-corelibs-xctest $BRANCH swift-corelibs-xctest -fetch_git swift-corelibs-foundation $BRANCH swift-corelibs-foundation -fetch_git swift-corelibs-libdispatch $BRANCH swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/4.0.2 b/swiftenv/share/swiftenv-build/4.0.2 deleted file mode 100644 index f6c21690..00000000 --- a/swiftenv/share/swiftenv-build/4.0.2 +++ /dev/null @@ -1,13 +0,0 @@ -TAG="swift-4.0.2-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -fetch_github_release swift-llbuild $TAG llbuild -fetch_github_release swift-package-manager $TAG swiftpm -fetch_github_release swift-compiler-rt $TAG compiler-rt -fetch_github_release swift-corelibs-xctest $TAG swift-corelibs-xctest -fetch_github_release swift-corelibs-foundation $TAG swift-corelibs-foundation -fetch_github_release swift-corelibs-libdispatch $TAG swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/4.0.3 b/swiftenv/share/swiftenv-build/4.0.3 deleted file mode 100644 index 559617ca..00000000 --- a/swiftenv/share/swiftenv-build/4.0.3 +++ /dev/null @@ -1,13 +0,0 @@ -TAG="swift-4.0.3-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -fetch_github_release swift-llbuild $TAG llbuild -fetch_github_release swift-package-manager $TAG swiftpm -fetch_github_release swift-compiler-rt $TAG compiler-rt -fetch_github_release swift-corelibs-xctest $TAG swift-corelibs-xctest -fetch_github_release swift-corelibs-foundation $TAG swift-corelibs-foundation -fetch_github_release swift-corelibs-libdispatch $TAG swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/4.1 b/swiftenv/share/swiftenv-build/4.1 deleted file mode 100644 index 4ac1d4c2..00000000 --- a/swiftenv/share/swiftenv-build/4.1 +++ /dev/null @@ -1,13 +0,0 @@ -TAG="swift-4.1-RELEASE" -fetch_github_release swift $TAG swift -fetch_github_release swift-llvm $TAG llvm -fetch_github_release swift-clang $TAG clang -fetch_github_release swift-lldb $TAG lldb -fetch_github_release swift-cmark $TAG cmark -fetch_github_release swift-llbuild $TAG llbuild -fetch_github_release swift-package-manager $TAG swiftpm -fetch_github_release swift-compiler-rt $TAG compiler-rt -fetch_github_release swift-corelibs-xctest $TAG swift-corelibs-xctest -fetch_github_release swift-corelibs-foundation $TAG swift-corelibs-foundation -fetch_github_release swift-corelibs-libdispatch $TAG swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/4.1-dev b/swiftenv/share/swiftenv-build/4.1-dev deleted file mode 100644 index d5cc1848..00000000 --- a/swiftenv/share/swiftenv-build/4.1-dev +++ /dev/null @@ -1,13 +0,0 @@ -BRANCH="swift-4.1-branch" -fetch_git swift $BRANCH swift -fetch_git swift-llvm $BRANCH llvm -fetch_git swift-clang $BRANCH clang -fetch_git swift-lldb $BRANCH lldb -fetch_git swift-cmark $BRANCH cmark -fetch_git swift-llbuild $BRANCH llbuild -fetch_git swift-package-manager $BRANCH swiftpm -fetch_git swift-compiler-rt $BRANCH compiler-rt -fetch_git swift-corelibs-xctest $BRANCH swift-corelibs-xctest -fetch_git swift-corelibs-foundation $BRANCH swift-corelibs-foundation -fetch_git swift-corelibs-libdispatch $BRANCH swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/4.2-dev b/swiftenv/share/swiftenv-build/4.2-dev deleted file mode 100644 index d6db5028..00000000 --- a/swiftenv/share/swiftenv-build/4.2-dev +++ /dev/null @@ -1,13 +0,0 @@ -BRANCH="swift-4.2-branch" -fetch_git swift $BRANCH swift -fetch_git swift-llvm $BRANCH llvm -fetch_git swift-clang $BRANCH clang -fetch_git swift-lldb $BRANCH lldb -fetch_git swift-cmark master cmark -fetch_git swift-llbuild master llbuild -fetch_git swift-package-manager master swiftpm -fetch_git swift-compiler-rt $BRANCH compiler-rt -fetch_git swift-corelibs-xctest $BRANCH swift-corelibs-xctest -fetch_git swift-corelibs-foundation $BRANCH swift-corelibs-foundation -fetch_git swift-corelibs-libdispatch $BRANCH swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-build/5.0-dev b/swiftenv/share/swiftenv-build/5.0-dev deleted file mode 100644 index a66669f1..00000000 --- a/swiftenv/share/swiftenv-build/5.0-dev +++ /dev/null @@ -1,13 +0,0 @@ -BRANCH="swift-5.0-branch" -fetch_git swift $BRANCH swift -fetch_git swift-llvm "swift-4.1-branch" llvm -fetch_git swift-clang "swift-4.1-branch" clang -fetch_git swift-lldb $BRANCH lldb -fetch_git swift-cmark master cmark -fetch_git swift-llbuild master llbuild -fetch_git swift-package-manager master swiftpm -fetch_git swift-compiler-rt "swift-4.1-branch" compiler-rt -fetch_git swift-corelibs-xctest master swift-corelibs-xctest -fetch_git swift-corelibs-foundation master swift-corelibs-foundation -fetch_git swift-corelibs-libdispatch master swift-corelibs-libdispatch -build_swift diff --git a/swiftenv/share/swiftenv-install/3.0 b/swiftenv/share/swiftenv-install/3.0 deleted file mode 100644 index 420d2246..00000000 --- a/swiftenv/share/swiftenv-install/3.0 +++ /dev/null @@ -1,24 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-3.0-release/xcode/swift-3.0-RELEASE/swift-3.0-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-3.0-release/ubuntu1404/swift-3.0-RELEASE/swift-3.0-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu15.10' ) - URL="https://swift.org/builds/swift-3.0-release/ubuntu1510/swift-3.0-RELEASE/swift-3.0-RELEASE-ubuntu15.10.tar.gz" - ;; - - 'ubuntu16.04' | 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 3.0 does not support Ubuntu 16.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/3.0.1 b/swiftenv/share/swiftenv-install/3.0.1 deleted file mode 100644 index 14a51f68..00000000 --- a/swiftenv/share/swiftenv-install/3.0.1 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-3.0.1-release/xcode/swift-3.0.1-RELEASE/swift-3.0.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-3.0.1-release/ubuntu1404/swift-3.0.1-RELEASE/swift-3.0.1-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu15.10' ) - URL="https://swift.org/builds/swift-3.0.1-release/ubuntu1510/swift-3.0.1-RELEASE/swift-3.0.1-RELEASE-ubuntu15.10.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-3.0.1-release/ubuntu1604/swift-3.0.1-RELEASE/swift-3.0.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 3.0.1 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/3.0.2 b/swiftenv/share/swiftenv-install/3.0.2 deleted file mode 100644 index 33c62a3c..00000000 --- a/swiftenv/share/swiftenv-install/3.0.2 +++ /dev/null @@ -1,24 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-3.0.2-release/xcode/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-3.0.2-release/ubuntu1404/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-3.0.2-release/ubuntu1604/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 3.0.2 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/3.1 b/swiftenv/share/swiftenv-install/3.1 deleted file mode 100644 index 96b5489f..00000000 --- a/swiftenv/share/swiftenv-install/3.1 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-3.1-release/xcode/swift-3.1-RELEASE/swift-3.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-3.1-release/ubuntu1404/swift-3.1-RELEASE/swift-3.1-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-3.1-release/ubuntu1604/swift-3.1-RELEASE/swift-3.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu16.10' ) - URL="https://swift.org/builds/swift-3.1-release/ubuntu1610/swift-3.1-RELEASE/swift-3.1-RELEASE-ubuntu16.10.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 3.1 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/3.1.1 b/swiftenv/share/swiftenv-install/3.1.1 deleted file mode 100644 index 29fbaf1a..00000000 --- a/swiftenv/share/swiftenv-install/3.1.1 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-3.1.1-release/xcode/swift-3.1.1-RELEASE/swift-3.1.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-3.1.1-release/ubuntu1404/swift-3.1.1-RELEASE/swift-3.1.1-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-3.1.1-release/ubuntu1604/swift-3.1.1-RELEASE/swift-3.1.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu16.10' ) - URL="https://swift.org/builds/swift-3.1.1-release/ubuntu1610/swift-3.1.1-RELEASE/swift-3.1.1-RELEASE-ubuntu16.10.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 3.1.1 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.0 b/swiftenv/share/swiftenv-install/4.0 deleted file mode 100644 index 2f50f602..00000000 --- a/swiftenv/share/swiftenv-install/4.0 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.0-release/xcode/swift-4.0-RELEASE/swift-4.0-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.0-release/ubuntu1404/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.0-release/ubuntu1604/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu16.10' ) - URL="https://swift.org/builds/swift-4.0-release/ubuntu1610/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu16.10.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.0 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.0.2 b/swiftenv/share/swiftenv-install/4.0.2 deleted file mode 100644 index a98aad7b..00000000 --- a/swiftenv/share/swiftenv-install/4.0.2 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.0.2-release/xcode/swift-4.0.2-RELEASE/swift-4.0.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.0.2-release/ubuntu1404/swift-4.0.2-RELEASE/swift-4.0.2-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.0.2-release/ubuntu1604/swift-4.0.2-RELEASE/swift-4.0.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu16.10' ) - URL="https://swift.org/builds/swift-4.0.2-release/ubuntu1610/swift-4.0.2-RELEASE/swift-4.0.2-RELEASE-ubuntu16.10.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.0.2 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.0.3 b/swiftenv/share/swiftenv-install/4.0.3 deleted file mode 100644 index fba325fc..00000000 --- a/swiftenv/share/swiftenv-install/4.0.3 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.0.3-release/xcode/swift-4.0.3-RELEASE/swift-4.0.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.0.3-release/ubuntu1404/swift-4.0.3-RELEASE/swift-4.0.3-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.0.3-release/ubuntu1604/swift-4.0.3-RELEASE/swift-4.0.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu16.10' ) - URL="https://swift.org/builds/swift-4.0.3-release/ubuntu1610/swift-4.0.3-RELEASE/swift-4.0.3-RELEASE-ubuntu16.10.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.0.3 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.1 b/swiftenv/share/swiftenv-install/4.1 deleted file mode 100644 index f433b8d1..00000000 --- a/swiftenv/share/swiftenv-install/4.1 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.1-release/xcode/swift-4.1-RELEASE/swift-4.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.1-release/ubuntu1404/swift-4.1-RELEASE/swift-4.1-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.1-release/ubuntu1604/swift-4.1-RELEASE/swift-4.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu16.10' ) - URL="https://swift.org/builds/swift-4.1-release/ubuntu1610/swift-4.1-RELEASE/swift-4.1-RELEASE-ubuntu16.10.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.1 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.1.1 b/swiftenv/share/swiftenv-install/4.1.1 deleted file mode 100644 index 9a8b2ff3..00000000 --- a/swiftenv/share/swiftenv-install/4.1.1 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.1.1-release/xcode/swift-4.1.1-RELEASE/swift-4.1.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.1.1-release/ubuntu1404/swift-4.1.1-RELEASE/swift-4.1.1-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.1.1-release/ubuntu1604/swift-4.1.1-RELEASE/swift-4.1.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu16.10' ) - URL="https://swift.org/builds/swift-4.1.1-release/ubuntu1610/swift-4.1.1-RELEASE/swift-4.1.1-RELEASE-ubuntu16.10.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.1.1 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.1.2 b/swiftenv/share/swiftenv-install/4.1.2 deleted file mode 100644 index e684cb35..00000000 --- a/swiftenv/share/swiftenv-install/4.1.2 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.1.2-release/xcode/swift-4.1.2-RELEASE/swift-4.1.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.1.2-release/ubuntu1404/swift-4.1.2-RELEASE/swift-4.1.2-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.1.2-release/ubuntu1604/swift-4.1.2-RELEASE/swift-4.1.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu16.10' ) - URL="https://swift.org/builds/swift-4.1.2-release/ubuntu1610/swift-4.1.2-RELEASE/swift-4.1.2-RELEASE-ubuntu16.10.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.1.2 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.1.3 b/swiftenv/share/swiftenv-install/4.1.3 deleted file mode 100644 index a1874b9c..00000000 --- a/swiftenv/share/swiftenv-install/4.1.3 +++ /dev/null @@ -1,28 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.1.3-release/xcode/swift-4.1.3-RELEASE/swift-4.1.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.1.3-release/ubuntu1404/swift-4.1.3-RELEASE/swift-4.1.3-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.1.3-release/ubuntu1604/swift-4.1.3-RELEASE/swift-4.1.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu16.10' ) - URL="https://swift.org/builds/swift-4.1.3-release/ubuntu1610/swift-4.1.3-RELEASE/swift-4.1.3-RELEASE-ubuntu16.10.tar.gz" - ;; - - 'ubuntu18.04' | 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.1.3 does not support Ubuntu 18.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.2 b/swiftenv/share/swiftenv-install/4.2 deleted file mode 100644 index 14a0cba3..00000000 --- a/swiftenv/share/swiftenv-install/4.2 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.2-release/xcode/swift-4.2-RELEASE/swift-4.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.2-release/ubuntu1404/swift-4.2-RELEASE/swift-4.2-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.2-release/ubuntu1604/swift-4.2-RELEASE/swift-4.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-4.2-release/ubuntu1804/swift-4.2-RELEASE/swift-4.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.2 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.2.1 b/swiftenv/share/swiftenv-install/4.2.1 deleted file mode 100644 index 73e130d7..00000000 --- a/swiftenv/share/swiftenv-install/4.2.1 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.2.1-release/xcode/swift-4.2.1-RELEASE/swift-4.2.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.2.1-release/ubuntu1404/swift-4.2.1-RELEASE/swift-4.2.1-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.2.1-release/ubuntu1604/swift-4.2.1-RELEASE/swift-4.2.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-4.2.1-release/ubuntu1804/swift-4.2.1-RELEASE/swift-4.2.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.2.1 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.2.2 b/swiftenv/share/swiftenv-install/4.2.2 deleted file mode 100644 index e7a8846d..00000000 --- a/swiftenv/share/swiftenv-install/4.2.2 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.2.2-release/xcode/swift-4.2.2-RELEASE/swift-4.2.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.2.2-release/ubuntu1404/swift-4.2.2-RELEASE/swift-4.2.2-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.2.2-release/ubuntu1604/swift-4.2.2-RELEASE/swift-4.2.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-4.2.2-release/ubuntu1804/swift-4.2.2-RELEASE/swift-4.2.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.2.2 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.2.3 b/swiftenv/share/swiftenv-install/4.2.3 deleted file mode 100644 index b808d646..00000000 --- a/swiftenv/share/swiftenv-install/4.2.3 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.2.3-release/xcode/swift-4.2.3-RELEASE/swift-4.2.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.2.3-release/ubuntu1404/swift-4.2.3-RELEASE/swift-4.2.3-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.2.3-release/ubuntu1604/swift-4.2.3-RELEASE/swift-4.2.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-4.2.3-release/ubuntu1804/swift-4.2.3-RELEASE/swift-4.2.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.2.3 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/4.2.4 b/swiftenv/share/swiftenv-install/4.2.4 deleted file mode 100644 index d7f2b0bf..00000000 --- a/swiftenv/share/swiftenv-install/4.2.4 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-4.2.4-release/xcode/swift-4.2.4-RELEASE/swift-4.2.4-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-4.2.4-release/ubuntu1404/swift-4.2.4-RELEASE/swift-4.2.4-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-4.2.4-release/ubuntu1604/swift-4.2.4-RELEASE/swift-4.2.4-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-4.2.4-release/ubuntu1804/swift-4.2.4-RELEASE/swift-4.2.4-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 4.2.4 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.0 b/swiftenv/share/swiftenv-install/5.0 deleted file mode 100644 index eb5737aa..00000000 --- a/swiftenv/share/swiftenv-install/5.0 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.0-release/xcode/swift-5.0-RELEASE/swift-5.0-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.0-release/ubuntu1404/swift-5.0-RELEASE/swift-5.0-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.0-release/ubuntu1604/swift-5.0-RELEASE/swift-5.0-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.0-release/ubuntu1804/swift-5.0-RELEASE/swift-5.0-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.0 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.0.1 b/swiftenv/share/swiftenv-install/5.0.1 deleted file mode 100644 index 9d723ace..00000000 --- a/swiftenv/share/swiftenv-install/5.0.1 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.0.1-release/xcode/swift-5.0.1-RELEASE/swift-5.0.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.0.1-release/ubuntu1404/swift-5.0.1-RELEASE/swift-5.0.1-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.0.1-release/ubuntu1604/swift-5.0.1-RELEASE/swift-5.0.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.0.1-release/ubuntu1804/swift-5.0.1-RELEASE/swift-5.0.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.0.1 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.0.2 b/swiftenv/share/swiftenv-install/5.0.2 deleted file mode 100644 index a53da814..00000000 --- a/swiftenv/share/swiftenv-install/5.0.2 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.0.2-release/xcode/swift-5.0.2-RELEASE/swift-5.0.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.0.2-release/ubuntu1404/swift-5.0.2-RELEASE/swift-5.0.2-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.0.2-release/ubuntu1604/swift-5.0.2-RELEASE/swift-5.0.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.0.2-release/ubuntu1804/swift-5.0.2-RELEASE/swift-5.0.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.0.2 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.0.3 b/swiftenv/share/swiftenv-install/5.0.3 deleted file mode 100644 index 7e5304d6..00000000 --- a/swiftenv/share/swiftenv-install/5.0.3 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.0.3-release/xcode/swift-5.0.3-RELEASE/swift-5.0.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.0.3-release/ubuntu1404/swift-5.0.3-RELEASE/swift-5.0.3-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.0.3-release/ubuntu1604/swift-5.0.3-RELEASE/swift-5.0.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.0.3-release/ubuntu1804/swift-5.0.3-RELEASE/swift-5.0.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.0.3 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.1 b/swiftenv/share/swiftenv-install/5.1 deleted file mode 100644 index 292e8107..00000000 --- a/swiftenv/share/swiftenv-install/5.1 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.1-release/xcode/swift-5.1-RELEASE/swift-5.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.1-release/ubuntu1404/swift-5.1-RELEASE/swift-5.1-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.1-release/ubuntu1604/swift-5.1-RELEASE/swift-5.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.1-release/ubuntu1804/swift-5.1-RELEASE/swift-5.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.1 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.1.1 b/swiftenv/share/swiftenv-install/5.1.1 deleted file mode 100644 index c5aa4b46..00000000 --- a/swiftenv/share/swiftenv-install/5.1.1 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.1.1-release/xcode/swift-5.1.1-RELEASE/swift-5.1.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.1.1-release/ubuntu1404/swift-5.1.1-RELEASE/swift-5.1.1-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.1.1-release/ubuntu1604/swift-5.1.1-RELEASE/swift-5.1.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.1.1-release/ubuntu1804/swift-5.1.1-RELEASE/swift-5.1.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.1.1 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.1.2 b/swiftenv/share/swiftenv-install/5.1.2 deleted file mode 100644 index a1524cd2..00000000 --- a/swiftenv/share/swiftenv-install/5.1.2 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.1.2-release/xcode/swift-5.1.2-RELEASE/swift-5.1.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.1.2-release/ubuntu1404/swift-5.1.2-RELEASE/swift-5.1.2-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.1.2-release/ubuntu1604/swift-5.1.2-RELEASE/swift-5.1.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.1.2-release/ubuntu1804/swift-5.1.2-RELEASE/swift-5.1.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.1.2 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.1.3 b/swiftenv/share/swiftenv-install/5.1.3 deleted file mode 100644 index 028f431c..00000000 --- a/swiftenv/share/swiftenv-install/5.1.3 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.1.3-release/xcode/swift-5.1.3-RELEASE/swift-5.1.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.1.3-release/ubuntu1404/swift-5.1.3-RELEASE/swift-5.1.3-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.1.3-release/ubuntu1604/swift-5.1.3-RELEASE/swift-5.1.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.1.3-release/ubuntu1804/swift-5.1.3-RELEASE/swift-5.1.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.1.3 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.1.4 b/swiftenv/share/swiftenv-install/5.1.4 deleted file mode 100644 index 32b278da..00000000 --- a/swiftenv/share/swiftenv-install/5.1.4 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.1.4-release/xcode/swift-5.1.4-RELEASE/swift-5.1.4-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.1.4-release/ubuntu1404/swift-5.1.4-RELEASE/swift-5.1.4-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.1.4-release/ubuntu1604/swift-5.1.4-RELEASE/swift-5.1.4-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.1.4-release/ubuntu1804/swift-5.1.4-RELEASE/swift-5.1.4-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.1.4 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.1.5 b/swiftenv/share/swiftenv-install/5.1.5 deleted file mode 100644 index d1800fd7..00000000 --- a/swiftenv/share/swiftenv-install/5.1.5 +++ /dev/null @@ -1,31 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.1.5-release/xcode/swift-5.1.5-RELEASE/swift-5.1.5-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - URL="https://swift.org/builds/swift-5.1.5-release/ubuntu1404/swift-5.1.5-RELEASE/swift-5.1.5-RELEASE-ubuntu14.04.tar.gz" - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.1.5-release/ubuntu1604/swift-5.1.5-RELEASE/swift-5.1.5-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.1.5-release/ubuntu1804/swift-5.1.5-RELEASE/swift-5.1.5-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.1.5 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.2 b/swiftenv/share/swiftenv-install/5.2 deleted file mode 100644 index afa685fd..00000000 --- a/swiftenv/share/swiftenv-install/5.2 +++ /dev/null @@ -1,36 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.2-release/xcode/swift-5.2-RELEASE/swift-5.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.2-release/ubuntu1604/swift-5.2-RELEASE/swift-5.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.2-release/ubuntu1804/swift-5.2-RELEASE/swift-5.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a b/swiftenv/share/swiftenv-install/5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a deleted file mode 100644 index 015da9ff..00000000 --- a/swiftenv/share/swiftenv-install/5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a +++ /dev/null @@ -1,36 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.2-branch/xcode/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.2-branch/ubuntu1604/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.2-branch/ubuntu1804/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-20-a-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a b/swiftenv/share/swiftenv-install/5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a deleted file mode 100644 index 023b94b9..00000000 --- a/swiftenv/share/swiftenv-install/5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a +++ /dev/null @@ -1,36 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.2-branch/xcode/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.2-branch/ubuntu1604/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.2-branch/ubuntu1804/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a/swift-5.2-DEVELOPMENT-SNAPSHOT-2020-03-23-a-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.2.1 b/swiftenv/share/swiftenv-install/5.2.1 deleted file mode 100644 index 1f298e3c..00000000 --- a/swiftenv/share/swiftenv-install/5.2.1 +++ /dev/null @@ -1,36 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.2.1-release/xcode/swift-5.2.1-RELEASE/swift-5.2.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.2.1-release/ubuntu1604/swift-5.2.1-RELEASE/swift-5.2.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.2.1-release/ubuntu1804/swift-5.2.1-RELEASE/swift-5.2.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.2.1 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.2.2 b/swiftenv/share/swiftenv-install/5.2.2 deleted file mode 100644 index 7cd590e9..00000000 --- a/swiftenv/share/swiftenv-install/5.2.2 +++ /dev/null @@ -1,36 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.2.2-release/xcode/swift-5.2.2-RELEASE/swift-5.2.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.2.2-release/ubuntu1604/swift-5.2.2-RELEASE/swift-5.2.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.2.2-release/ubuntu1804/swift-5.2.2-RELEASE/swift-5.2.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.2.2 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.2.3 b/swiftenv/share/swiftenv-install/5.2.3 deleted file mode 100644 index 4e38cf33..00000000 --- a/swiftenv/share/swiftenv-install/5.2.3 +++ /dev/null @@ -1,36 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.2.3-release/xcode/swift-5.2.3-RELEASE/swift-5.2.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.2.3-release/ubuntu1604/swift-5.2.3-RELEASE/swift-5.2.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.2.3-release/ubuntu1804/swift-5.2.3-RELEASE/swift-5.2.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' | 'ubuntu22.04' ) - echo - echo " ! Swift 5.2.3 does not support Ubuntu 20.04, nor any later versions of the Heroku stack." - echo " ! Please update your project to a more recent version of Swift." - echo " !" - echo " ! You can also downgrade your stack for the time being (not recommended)," - echo " ! using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.2.4 b/swiftenv/share/swiftenv-install/5.2.4 deleted file mode 100644 index a36b3282..00000000 --- a/swiftenv/share/swiftenv-install/5.2.4 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.2.4-release/xcode/swift-5.2.4-RELEASE/swift-5.2.4-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.2.4-release/ubuntu1604/swift-5.2.4-RELEASE/swift-5.2.4-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.2.4-release/ubuntu1804/swift-5.2.4-RELEASE/swift-5.2.4-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.2.4-release/ubuntu2004/swift-5.2.4-RELEASE/swift-5.2.4-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.2.4 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.2.5 b/swiftenv/share/swiftenv-install/5.2.5 deleted file mode 100644 index 7de5d8e0..00000000 --- a/swiftenv/share/swiftenv-install/5.2.5 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.2.5-release/xcode/swift-5.2.5-RELEASE/swift-5.2.5-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.2.5-release/ubuntu1604/swift-5.2.5-RELEASE/swift-5.2.5-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.2.5-release/ubuntu1804/swift-5.2.5-RELEASE/swift-5.2.5-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.2.5-release/ubuntu2004/swift-5.2.5-RELEASE/swift-5.2.5-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.2.5 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.3 b/swiftenv/share/swiftenv-install/5.3 deleted file mode 100644 index 82d37d31..00000000 --- a/swiftenv/share/swiftenv-install/5.3 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.3-release/xcode/swift-5.3-RELEASE/swift-5.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.3 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.3-release/ubuntu1604/swift-5.3-RELEASE/swift-5.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.3-release/ubuntu1804/swift-5.3-RELEASE/swift-5.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.3-release/ubuntu2004/swift-5.3-RELEASE/swift-5.3-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.3 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.3.1 b/swiftenv/share/swiftenv-install/5.3.1 deleted file mode 100644 index 31b6d047..00000000 --- a/swiftenv/share/swiftenv-install/5.3.1 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.3.1-release/xcode/swift-5.3.1-RELEASE/swift-5.3.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.3.1 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.3.1-release/ubuntu1604/swift-5.3.1-RELEASE/swift-5.3.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.3.1-release/ubuntu1804/swift-5.3.1-RELEASE/swift-5.3.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.3.1-release/ubuntu2004/swift-5.3.1-RELEASE/swift-5.3.1-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.3.1 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.3.2 b/swiftenv/share/swiftenv-install/5.3.2 deleted file mode 100644 index 9b103303..00000000 --- a/swiftenv/share/swiftenv-install/5.3.2 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.3.2-release/xcode/swift-5.3.2-RELEASE/swift-5.3.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.3.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.3.2-release/ubuntu1604/swift-5.3.2-RELEASE/swift-5.3.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.3.2-release/ubuntu1804/swift-5.3.2-RELEASE/swift-5.3.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.3.2-release/ubuntu2004/swift-5.3.2-RELEASE/swift-5.3.2-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.3.2 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.3.3 b/swiftenv/share/swiftenv-install/5.3.3 deleted file mode 100644 index f270b4de..00000000 --- a/swiftenv/share/swiftenv-install/5.3.3 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.3.3-release/xcode/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.3.3 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.3.3-release/ubuntu1604/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.3.3-release/ubuntu1804/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.3.3-release/ubuntu2004/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.3.3 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.4 b/swiftenv/share/swiftenv-install/5.4 deleted file mode 100644 index 03e7ff26..00000000 --- a/swiftenv/share/swiftenv-install/5.4 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.4-release/xcode/swift-5.4-RELEASE/swift-5.4-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.4 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.4-release/ubuntu1604/swift-5.4-RELEASE/swift-5.4-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.4-release/ubuntu1804/swift-5.4-RELEASE/swift-5.4-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.4-release/ubuntu2004/swift-5.4-RELEASE/swift-5.4-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.4 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.4.1 b/swiftenv/share/swiftenv-install/5.4.1 deleted file mode 100644 index fa0d236f..00000000 --- a/swiftenv/share/swiftenv-install/5.4.1 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.4.1-release/xcode/swift-5.4.1-RELEASE/swift-5.4.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.4.1 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.4.1-release/ubuntu1604/swift-5.4.1-RELEASE/swift-5.4.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.4.1-release/ubuntu1804/swift-5.4.1-RELEASE/swift-5.4.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.4.1-release/ubuntu2004/swift-5.4.1-RELEASE/swift-5.4.1-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.4.1 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.4.2 b/swiftenv/share/swiftenv-install/5.4.2 deleted file mode 100644 index 226c1cb0..00000000 --- a/swiftenv/share/swiftenv-install/5.4.2 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.4.2-release/xcode/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.4.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.4.2-release/ubuntu1604/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.4.2-release/ubuntu1804/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.4.2-release/ubuntu2004/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.4.2 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.4.3 b/swiftenv/share/swiftenv-install/5.4.3 deleted file mode 100644 index d4671a1e..00000000 --- a/swiftenv/share/swiftenv-install/5.4.3 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.4.3-release/xcode/swift-5.4.3-RELEASE/swift-5.4.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.4.3 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.4.3-release/ubuntu1604/swift-5.4.3-RELEASE/swift-5.4.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.4.3-release/ubuntu1804/swift-5.4.3-RELEASE/swift-5.4.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.4.3-release/ubuntu2004/swift-5.4.3-RELEASE/swift-5.4.3-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.4.3 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.5 b/swiftenv/share/swiftenv-install/5.5 deleted file mode 100644 index 8ab5664c..00000000 --- a/swiftenv/share/swiftenv-install/5.5 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.5-release/xcode/swift-5.5-RELEASE/swift-5.5-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.5 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.5-release/ubuntu1604/swift-5.5-RELEASE/swift-5.5-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.5-release/ubuntu1804/swift-5.5-RELEASE/swift-5.5-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.5-release/ubuntu2004/swift-5.5-RELEASE/swift-5.5-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.5 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a b/swiftenv/share/swiftenv-install/5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a deleted file mode 100644 index fbe47995..00000000 --- a/swiftenv/share/swiftenv-install/5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.5-branch/xcode/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.5 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.5-branch/ubuntu1604/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.5-branch/ubuntu1804/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.5-branch/ubuntu2004/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-06-26-a-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.5 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a b/swiftenv/share/swiftenv-install/5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a deleted file mode 100644 index 192966da..00000000 --- a/swiftenv/share/swiftenv-install/5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.5-branch/xcode/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.5 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.5-branch/ubuntu1604/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.5-branch/ubuntu1804/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.5-branch/ubuntu2004/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-09-15-a-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.5 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.5.1 b/swiftenv/share/swiftenv-install/5.5.1 deleted file mode 100644 index c76005bc..00000000 --- a/swiftenv/share/swiftenv-install/5.5.1 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.5.1-release/xcode/swift-5.5.1-RELEASE/swift-5.5.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.5.1 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.5.1-release/ubuntu1604/swift-5.5.1-RELEASE/swift-5.5.1-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.5.1-release/ubuntu1804/swift-5.5.1-RELEASE/swift-5.5.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.5.1-release/ubuntu2004/swift-5.5.1-RELEASE/swift-5.5.1-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.5.1 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.5.2 b/swiftenv/share/swiftenv-install/5.5.2 deleted file mode 100644 index 4920112a..00000000 --- a/swiftenv/share/swiftenv-install/5.5.2 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.5.2-release/xcode/swift-5.5.2-RELEASE/swift-5.5.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.5.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.5.2-release/ubuntu1604/swift-5.5.2-RELEASE/swift-5.5.2-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.5.2-release/ubuntu1804/swift-5.5.2-RELEASE/swift-5.5.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.5.2-release/ubuntu2004/swift-5.5.2-RELEASE/swift-5.5.2-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.5.2 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.5.3 b/swiftenv/share/swiftenv-install/5.5.3 deleted file mode 100644 index 19efea15..00000000 --- a/swiftenv/share/swiftenv-install/5.5.3 +++ /dev/null @@ -1,39 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.5.3-release/xcode/swift-5.5.3-RELEASE/swift-5.5.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.5.3 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - URL="https://swift.org/builds/swift-5.5.3-release/ubuntu1604/swift-5.5.3-RELEASE/swift-5.5.3-RELEASE-ubuntu16.04.tar.gz" - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.5.3-release/ubuntu1804/swift-5.5.3-RELEASE/swift-5.5.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.5.3-release/ubuntu2004/swift-5.5.3-RELEASE/swift-5.5.3-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.5.3 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.6 b/swiftenv/share/swiftenv-install/5.6 deleted file mode 100644 index 3be66d95..00000000 --- a/swiftenv/share/swiftenv-install/5.6 +++ /dev/null @@ -1,44 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.6-release/xcode/swift-5.6-RELEASE/swift-5.6-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.6 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.6 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.6-release/ubuntu1804/swift-5.6-RELEASE/swift-5.6-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.6-release/ubuntu2004/swift-5.6-RELEASE/swift-5.6-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.6 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.6.1 b/swiftenv/share/swiftenv-install/5.6.1 deleted file mode 100644 index 3ed84217..00000000 --- a/swiftenv/share/swiftenv-install/5.6.1 +++ /dev/null @@ -1,44 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.6.1-release/xcode/swift-5.6.1-RELEASE/swift-5.6.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.6.1 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.6.1 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.6.1-release/ubuntu1804/swift-5.6.1-RELEASE/swift-5.6.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.6.1-release/ubuntu2004/swift-5.6.1-RELEASE/swift-5.6.1-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.6.1 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.6.2 b/swiftenv/share/swiftenv-install/5.6.2 deleted file mode 100644 index 6afb6e55..00000000 --- a/swiftenv/share/swiftenv-install/5.6.2 +++ /dev/null @@ -1,44 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.6.2-release/xcode/swift-5.6.2-RELEASE/swift-5.6.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.6.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.6.2 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.6.2-release/ubuntu1804/swift-5.6.2-RELEASE/swift-5.6.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.6.2-release/ubuntu2004/swift-5.6.2-RELEASE/swift-5.6.2-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.6.2 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.6.3 b/swiftenv/share/swiftenv-install/5.6.3 deleted file mode 100644 index d64f93fe..00000000 --- a/swiftenv/share/swiftenv-install/5.6.3 +++ /dev/null @@ -1,44 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.6.3-release/xcode/swift-5.6.3-RELEASE/swift-5.6.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.6.3 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.6.3 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.6.3-release/ubuntu1804/swift-5.6.3-RELEASE/swift-5.6.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.6.3-release/ubuntu2004/swift-5.6.3-RELEASE/swift-5.6.3-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - echo - echo " ! Swift 5.6.3 does not support Ubuntu 22.04, nor any later versions of the Heroku stack." - echo " !" - echo " ! As of 2022-06-21, Swift does not yet have a release that supports Ubuntu 22.04." - echo " ! Downgrade your stack to heroku-20 using the 'heroku stack:set' command or the dashboard." - echo - exit 1 - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.7 b/swiftenv/share/swiftenv-install/5.7 deleted file mode 100644 index 3ecd95dd..00000000 --- a/swiftenv/share/swiftenv-install/5.7 +++ /dev/null @@ -1,38 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.7-release/xcode/swift-5.7-RELEASE/swift-5.7-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.7 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.7 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.7-release/ubuntu1804/swift-5.7-RELEASE/swift-5.7-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.7-release/ubuntu2004/swift-5.7-RELEASE/swift-5.7-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - URL="https://swift.org/builds/swift-5.7-release/ubuntu2204/swift-5.7-RELEASE/swift-5.7-RELEASE-ubuntu22.04.tar.gz" - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.7.1 b/swiftenv/share/swiftenv-install/5.7.1 deleted file mode 100644 index 0e29bbfb..00000000 --- a/swiftenv/share/swiftenv-install/5.7.1 +++ /dev/null @@ -1,38 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.7.1-release/xcode/swift-5.7.1-RELEASE/swift-5.7.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.7.1 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.7.1 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.7.1-release/ubuntu1804/swift-5.7.1-RELEASE/swift-5.7.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.7.1-release/ubuntu2004/swift-5.7.1-RELEASE/swift-5.7.1-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - URL="https://swift.org/builds/swift-5.7.1-release/ubuntu2204/swift-5.7.1-RELEASE/swift-5.7.1-RELEASE-ubuntu22.04.tar.gz" - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.7.2 b/swiftenv/share/swiftenv-install/5.7.2 deleted file mode 100644 index a5e8f588..00000000 --- a/swiftenv/share/swiftenv-install/5.7.2 +++ /dev/null @@ -1,38 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.7.2-release/xcode/swift-5.7.2-RELEASE/swift-5.7.2-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.7.2 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.7.2 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.7.2-release/ubuntu1804/swift-5.7.2-RELEASE/swift-5.7.2-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.7.2-release/ubuntu2004/swift-5.7.2-RELEASE/swift-5.7.2-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - URL="https://swift.org/builds/swift-5.7.2-release/ubuntu2204/swift-5.7.2-RELEASE/swift-5.7.2-RELEASE-ubuntu22.04.tar.gz" - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.7.3 b/swiftenv/share/swiftenv-install/5.7.3 deleted file mode 100644 index f20a0461..00000000 --- a/swiftenv/share/swiftenv-install/5.7.3 +++ /dev/null @@ -1,38 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.7.3-release/xcode/swift-5.7.3-RELEASE/swift-5.7.3-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.7.3 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.7.3 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.7.3-release/ubuntu1804/swift-5.7.3-RELEASE/swift-5.7.3-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.7.3-release/ubuntu2004/swift-5.7.3-RELEASE/swift-5.7.3-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - URL="https://swift.org/builds/swift-5.7.3-release/ubuntu2204/swift-5.7.3-RELEASE/swift-5.7.3-RELEASE-ubuntu22.04.tar.gz" - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.8 b/swiftenv/share/swiftenv-install/5.8 deleted file mode 100644 index 7a17d039..00000000 --- a/swiftenv/share/swiftenv-install/5.8 +++ /dev/null @@ -1,38 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.8-release/xcode/swift-5.8-RELEASE/swift-5.8-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.8 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.8 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.8-release/ubuntu1804/swift-5.8-RELEASE/swift-5.8-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.8-release/ubuntu2004/swift-5.8-RELEASE/swift-5.8-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - URL="https://swift.org/builds/swift-5.8-release/ubuntu2204/swift-5.8-RELEASE/swift-5.8-RELEASE-ubuntu22.04.tar.gz" - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.8.1 b/swiftenv/share/swiftenv-install/5.8.1 deleted file mode 100644 index dfbe226f..00000000 --- a/swiftenv/share/swiftenv-install/5.8.1 +++ /dev/null @@ -1,38 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://swift.org/builds/swift-5.8.1-release/xcode/swift-5.8.1-RELEASE/swift-5.8.1-RELEASE-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.8.1 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.8.1 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://swift.org/builds/swift-5.8.1-release/ubuntu1804/swift-5.8.1-RELEASE/swift-5.8.1-RELEASE-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://swift.org/builds/swift-5.8.1-release/ubuntu2004/swift-5.8.1-RELEASE/swift-5.8.1-RELEASE-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - URL="https://swift.org/builds/swift-5.8.1-release/ubuntu2204/swift-5.8.1-RELEASE/swift-5.8.1-RELEASE-ubuntu22.04.tar.gz" - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a b/swiftenv/share/swiftenv-install/5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a deleted file mode 100644 index 60f5f141..00000000 --- a/swiftenv/share/swiftenv-install/5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a +++ /dev/null @@ -1,38 +0,0 @@ -case "$PLATFORM" in - 'osx' ) - URL="https://download.swift.org/swift-5.9-branch/xcode/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a-osx.pkg" - ;; - - 'ubuntu14.04' ) - echo - echo " ! Swift 5.9 does not support Ubuntu 14.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu16.04' ) - echo - echo " ! Swift 5.9 does not support Ubuntu 16.04." - echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." - echo " ! If that is not an option, pin an older version of Swift." - echo - exit 1 - ;; - - 'ubuntu18.04' ) - URL="https://download.swift.org/swift-5.9-branch/ubuntu1804/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a-ubuntu18.04.tar.gz" - ;; - - 'ubuntu20.04' ) - URL="https://download.swift.org/swift-5.9-branch/ubuntu2004/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a-ubuntu20.04.tar.gz" - ;; - - 'ubuntu22.04' ) - URL="https://download.swift.org/swift-5.9-branch/ubuntu2204/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a/swift-5.9-DEVELOPMENT-SNAPSHOT-2023-08-25-a-ubuntu22.04.tar.gz" - ;; - - * ) - ;; -esac diff --git a/swiftenv/share/swiftenv-install/6.0 b/swiftenv/share/swiftenv-install/6.0 new file mode 100644 index 00000000..f6d8ace9 --- /dev/null +++ b/swiftenv/share/swiftenv-install/6.0 @@ -0,0 +1,47 @@ +case "$PLATFORM" in + 'osx' ) + URL="https://swift.org/builds/swift-6.0-release/xcode/swift-6.0-RELEASE/swift-6.0-RELEASE-osx.pkg" + ;; + + 'ubuntu14.04' ) + echo + echo " ! Swift 6.0 does not support Ubuntu 14.04." + echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." + echo " ! If that is not an option, pin an older version of Swift." + echo + exit 1 + ;; + + 'ubuntu16.04' ) + echo + echo " ! Swift 6.0 does not support Ubuntu 16.04." + echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." + echo " ! If that is not an option, pin an older version of Swift." + echo + exit 1 + ;; + + 'ubuntu18.04' ) + echo + echo " ! Swift 6.0 does not support Ubuntu 18.04." + echo " ! Please upgrade your stack using the 'heroku stack:set' command or via the dashboard." + echo " ! If that is not an option, pin an older version of Swift." + echo + exit 1 + ;; + + 'ubuntu20.04' ) + URL="https://swift.org/builds/swift-6.0-release/ubuntu2004/swift-6.0-RELEASE/swift-6.0-RELEASE-ubuntu20.04.tar.gz" + ;; + + 'ubuntu22.04' ) + URL="https://swift.org/builds/swift-6.0-release/ubuntu2204/swift-6.0-RELEASE/swift-6.0-RELEASE-ubuntu22.04.tar.gz" + ;; + + 'ubuntu24.04' ) + URL="https://swift.org/builds/swift-6.0-release/ubuntu2404/swift-6.0-RELEASE/swift-6.0-RELEASE-ubuntu24.04.tar.gz" + ;; + + * ) + ;; +esac