Skip to content

Commit a94f8dd

Browse files
committed
adding support for swift 4.0.3
1 parent c2a6831 commit a94f8dd

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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.9](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.0.9).
184+
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.0.10](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.0.10).
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 `bx 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.0.2```.
226+
The latest version of Swift supported by this buildpack is ```4.0.3```.
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.0.2
234+
4.0.3
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.0.3`
239240
- `4.0.2`
240-
- `4.0`
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.9/buildpack_swift_v2.0.9-20171112-1715.zip
396-
bx cf create-buildpack swift_buildpack buildpack_swift_v2.0.9-20171112-1715.zip <position>
395+
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.10/buildpack_swift_v2.0.10-20171112-1715.zip
396+
bx cf create-buildpack swift_buildpack buildpack_swift_v2.0.10-20171112-1715.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.9/buildpack_swift_v2.0.9-20171112-1715.zip
403-
bx cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.9-20171112-1715.zip
402+
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.0.10/buildpack_swift_v2.0.10-20171112-1715.zip
403+
bx cf update-buildpack swift_buildpack -p buildpack_swift_v2.0.10-20171112-1715.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.9
1+
2.0.10

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.0.2
18+
DEFAULT_SWIFT_VERSION=4.0.3
1919
CLANG_VERSION=4.0.0
2020

2121
error() {

manifest.yml

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

2727
dependencies:
2828
- name: swift
29-
version: 4.0
30-
uri: https://swift.org/builds/swift-4.0-release/ubuntu1404/swift-4.0-RELEASE/swift-4.0-RELEASE-ubuntu14.04.tar.gz
31-
md5: dc53b47f29ac2433a5b57fe892352f83
29+
version: 4.0.3
30+
uri: https://swift.org/builds/swift-4.0.3-release/ubuntu1404/swift-4.0.3-RELEASE/swift-4.0.3-RELEASE-ubuntu14.04.tar.gz
31+
md5: d8edd878c9144232aa88ef1ca7f1c242
3232
cf_stacks:
3333
- cflinuxfs2
3434
- name: swift

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.0.2' }
17+
let(:default_swift_version) { '4.0.3' }
1818

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

0 commit comments

Comments
 (0)