Skip to content

Commit bd5edca

Browse files
author
Christian Compton
committed
Swift 4.2.2 support
1 parent 71670dc commit bd5edca

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ OK
3636
Starting app Kitura-Starter in org roliv@us.ibm.com / space dev as roliv@us.ibm.com...
3737
-----> Downloaded app package (28K)
3838
Cloning into '/tmp/buildpacks/swift-buildpack'...
39-
-----> Buildpack version 2.0.16
40-
-----> Default supported Swift version is 4.2.1
39+
-----> Buildpack version 2.0.17
40+
-----> Default supported Swift version is 4.2.2
4141
-----> Configure for apt-get installs...
4242
-----> Downloading system level dependencies...
4343
-----> Fetching .debs for: libicu-dev libcurl4-openssl-dev
@@ -178,7 +178,7 @@ The buildpack will detect your app as Swift if it has a `Package.swift` file in
178178
179179
### Version installed on the IBM Cloud
180180
181-
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.0.16](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.0.16).
181+
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.0.17](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.0.17).
182182
183183
Please note that it is possible that the latest buildpack code contained in this repo hasn't yet been installed on the IBM Cloud. If that happens to be the case and you'd like to leverage the latest buildpack code, you can do so by adding the `-b https://github.com/IBM-Swift/swift-buildpack` parameter to the `ibmcloud app push` command, as shown below:
184184
@@ -220,21 +220,21 @@ command: <executable_name>
220220
221221
### What is the latest version of Swift supported?
222222
223-
The latest version of Swift supported by this buildpack is ```4.2.1```.
223+
The latest version of Swift supported by this buildpack is ```4.2.2```.
224224
225225
### Specify a Swift version
226226
227227
You specify the version of Swift for your application using a `.swift-version` file in the root of your repository:
228228
229229
```shell
230230
$ cat .swift-version
231-
4.2.1
231+
4.2.2
232232
```
233233
234234
Please note that the swift_buildpack installed on the IBM Cloud **caches** the following versions of the Swift binaries:
235235
236+
- `4.2.2`
236237
- `4.2.1`
237-
- `4.2`
238238
239239
If you'd like to use a different version of Swift [that is not cached] on the IBM Cloud, you can specify it in the `.swift-version` file. Please be aware that using a Swift version that is not cached increases the provisioning time of your app on the IBM Cloud.
240240
@@ -389,15 +389,15 @@ Admin tasks
389389
To install this buildpack:
390390
391391
```shell
392-
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.16/buildpack_swift_v2.0.16-20181214-0434.zip
393-
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.0.16-20181214-0434.zip <position>
392+
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.17/buildpack_swift_v2.0.17-20181214-0434.zip
393+
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.0.17-20181214-0434.zip <position>
394394
```
395395
396396
And to update it:
397397
398398
```shell
399-
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.16/buildpack_swift_v2.0.16-20181214-0434.zip
400-
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.16-20181214-0434.zip
399+
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.17/buildpack_swift_v2.0.17-20181214-0434.zip
400+
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.17-20181214-0434.zip
401401
```
402402
403403
For more details on installing buildpacks, see [Adding buildpacks to Cloud Foundry](https://docs.cloudfoundry.org/adminguide/buildpacks.html).

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.16
1+
2.0.17

lib/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
##
1616

1717
# Global/common vars
18-
DEFAULT_SWIFT_VERSION=4.2.1
18+
DEFAULT_SWIFT_VERSION=4.2.2
1919
CLANG_VERSION=4.0.0
2020

2121
error() {

manifest.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ url_to_dependency_map:
2626

2727
dependencies:
2828
- name: swift
29-
version: 4.2.1
30-
uri: https://swift.org/builds/swift-4.2.1-release/ubuntu1404/swift-4.2.1-RELEASE/swift-4.2.1-RELEASE-ubuntu14.04.tar.gz
31-
md5: 3bcacbaa834f1f89cc101997d0ccba27
29+
version: 4.2.2
30+
uri: https://swift.org/builds/swift-4.2.2-release/ubuntu1404/swift-4.2.2-RELEASE/swift-4.2.2-RELEASE-ubuntu14.04.tar.gz
31+
md5: 7220da15d874e64ee5335661bc4b666f
3232
cf_stacks:
3333
- cflinuxfs2
3434
- name: swift
35-
version: 4.2
36-
uri: https://swift.org/builds/swift-4.2-release/ubuntu1404/swift-4.2-RELEASE/swift-4.2-RELEASE-ubuntu14.04.tar.gz
37-
md5: a3c9202ebde0d089a7bdd15da66956ed
35+
version: 4.2.1
36+
uri: https://swift.org/builds/swift-4.2.1-release/ubuntu1404/swift-4.2.1-RELEASE/swift-4.2.1-RELEASE-ubuntu14.04.tar.gz
37+
md5: 3bcacbaa834f1f89cc101997d0ccba27
3838
cf_stacks:
3939
- cflinuxfs2
4040
- name: clang

spec/shell_wrapper_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module ShellWrapper
1414
let(:apt_cache_dir) { Dir.mktmpdir }
1515
let(:buildpack_dir) { File.join(File.dirname(__FILE__), '../') }
1616
let(:common_shell_script) { File.join(buildpack_dir, 'lib', 'common.sh') }
17-
let(:default_swift_version) { '4.2.1' }
17+
let(:default_swift_version) { '4.2.2' }
1818

1919
describe '#install_packages' do
2020
context 'deb file exists in $APT_CACHE_DIR/archives' do

0 commit comments

Comments
 (0)