Skip to content

Commit 3187b4a

Browse files
author
Christian Compton
committed
Swift 4.2.1
1 parent bb7dba5 commit 3187b4a

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 [email protected] / space dev as [email protected]...
3737
-----> Downloaded app package (28K)
3838
Cloning into '/tmp/buildpacks/swift-buildpack'...
39-
-----> Buildpack version 2.0.15
40-
-----> Default supported Swift version is 4.2
39+
-----> Buildpack version 2.0.16
40+
-----> Default supported Swift version is 4.2.1
4141
-----> Configure for apt-get installs...
4242
-----> Downloading system level dependencies...
4343
-----> Fetching .debs for: libicu-dev libcurl4-openssl-dev
@@ -181,7 +181,7 @@ The buildpack will detect your app as Swift if it has a `Package.swift` file in
181181
182182
### Version installed on the IBM Cloud
183183
184-
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.0.15](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.0.15).
184+
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).
185185
186186
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:
187187
@@ -223,21 +223,21 @@ command: <executable_name>
223223
224224
### What is the latest version of Swift supported?
225225
226-
The latest version of Swift supported by this buildpack is ```4.2```.
226+
The latest version of Swift supported by this buildpack is ```4.2.1```.
227227
228228
### Specify a Swift version
229229
230230
You specify the version of Swift for your application using a `.swift-version` file in the root of your repository:
231231
232232
```shell
233233
$ cat .swift-version
234-
4.2
234+
4.2.1
235235
```
236236
237237
Please note that the swift_buildpack installed on the IBM Cloud **caches** the following versions of the Swift binaries:
238238
239+
- `4.2.1`
239240
- `4.2`
240-
- `4.1.3`
241241
242242
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.
243243
@@ -392,15 +392,15 @@ Admin tasks
392392
To install this buildpack:
393393
394394
```shell
395-
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.15/buildpack_swift_v2.0.15-20180920-0051.zip
396-
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.0.15-20180920-0051.zip <position>
395+
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.16/buildpack_swift_v2.0.16-20180920-0051.zip
396+
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.0.16-20180920-0051.zip <position>
397397
```
398398
399399
And to update it:
400400
401401
```shell
402-
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.15/buildpack_swift_v2.0.15-20180920-0051.zip
403-
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.15-20180920-0051.zip
402+
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.16/buildpack_swift_v2.0.16-20180920-0051.zip
403+
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.16-20180920-0051.zip
404404
```
405405
406406
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.15
1+
2.0.16

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
18+
DEFAULT_SWIFT_VERSION=4.2.1
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
30-
uri: https://swift.org/builds/swift-4.2-release/ubuntu1404/swift-4.2-RELEASE/swift-4.2-RELEASE-ubuntu14.04.tar.gz
31-
md5: a3c9202ebde0d089a7bdd15da66956ed
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
3232
cf_stacks:
3333
- cflinuxfs2
3434
- name: swift
35-
version: 4.1.3
36-
uri: https://swift.org/builds/swift-4.1.3-release/ubuntu1404/swift-4.1.3-RELEASE/swift-4.1.3-RELEASE-ubuntu14.04.tar.gz
37-
md5: a37ad9062b78f42b0e9f203117faa890
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
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' }
17+
let(:default_swift_version) { '4.2.1' }
1818

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

0 commit comments

Comments
 (0)