Skip to content

1.4.0

Latest
Compare
Choose a tag to compare
@kylef kylef released this 18 Jul 17:49
· 41 commits to master since this release

Enhancements

  • You can now instruct swiftenv install to both locally and globally set the installed swift version. --set-local and --set-global respectively will set the current Swift version.

    The default behaviour will set the global version by default when swiftenv install was provided an explicit version. When installing with the SWIFT_VERSION environment value or the .swift-version file present, then the default behaviour is to not set the global or local version.

  • When installing Swift from binary, swiftenv will now detect Ubuntu-based Linux distributions such as Elementary OS and use the appropriate binary image from swift.org.

Bug Fixes

  • On macOS, swiftenv uninstall would fail to uninstall some installed binary toolchains due to -RELEASE being after the version in some paths that was unexpected.

  • When using swiftenv uninstall, the command would fail if there was no global set version of swift. The command can now handle missing global version.