rabbah closed pull request #25: Update changelogs URL: https://github.com/apache/incubator-openwhisk-runtime-swift/pull/25
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/README.md b/README.md index 7ee82ac..558b548 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,12 @@ [](https://travis-ci.org/apache/incubator-openwhisk-runtime-swift) +## Changelogs +- [Swift 3.1.1 CHANGELOG.md](core/swift3.1.1Action/CHANGELOG.md) +- [Swift 4.0 CHANGELOG.md](core/swift40Action/CHANGELOG.md) +- [Swift 4.1 CHANGELOG.md](core/swift41Action/CHANGELOG.md) +## Quick Swift Action ### Simple swift action hello.swift The traditional support for dictionary still works: ```swift @@ -15,6 +20,7 @@ func main(args: [String:Any]) -> [String:Any] { } ``` +## Swift 4.x support ### Packaging an action as a Swift executable using Swift 4 When you create an OpenWhisk Swift action with a Swift source file, it has to be compiled into a binary before the action is run. Once done, subsequent calls to the action are much faster until the container holding your action is purged. This delay is known as the cold-start delay. diff --git a/core/swift3.1.1Action/CHANGELOG.md b/core/swift3.1.1Action/CHANGELOG.md new file mode 100644 index 0000000..c523b2e --- /dev/null +++ b/core/swift3.1.1Action/CHANGELOG.md @@ -0,0 +1,11 @@ +# Apache OpenWhisk Swift 3.1 Runtime Container + +## 1.0.0 +Initial Swift 3.1 image + - Image name: `openwhisk/action-swift-v3.1.1` + - Kind is: `swift:3.1.1` + +Swift runtime version: [3.1.1](https://github.com/IBM-Swift/swift-ubuntu-docker/blob/58ee2502030deaa7273e3924b9b59495a929b66f/swift-development/Dockerfile) + +Packages included: + - No packages included, use Package.swift and pre-compile action. diff --git a/core/swift40Action/CHANGELOG.md b/core/swift40Action/CHANGELOG.md index 74cb32a..b934d8b 100644 --- a/core/swift40Action/CHANGELOG.md +++ b/core/swift40Action/CHANGELOG.md @@ -1,10 +1,20 @@ -# Apache OpenWhisk Swift 4 Runtime Container +# Apache OpenWhisk Swift 4.0 Runtime Container + +## 1.0.1 +Changes: + - Rename image name to `openwhisk/action-swift-v4.0` + - Rename kind to `swift:4.0` + +Swift runtime version: [4.0.3](https://github.com/IBM-Swift/swift-ubuntu-docker/blob/4a821e2db45f7839789f0f516863be8295142ab1/swift-development/Dockerfile) + + ## 1.0.0 -Initial swift 4 image +Initial Swift 4.0 image + - Image name: `openwhisk/action-swift-v4` + - Kind is: `swift:4` -Swift 4 runtime version: - - [4.0.3](https://hub.docker.com/r/ibmcom/swift-ubuntu/tags/4.0.3/) +Swift runtime version: [4.0.3](https://github.com/IBM-Swift/swift-ubuntu-docker/blob/4a821e2db45f7839789f0f516863be8295142ab1/swift-development/Dockerfile) Packages included: - No packages included, use Package.swift and pre-compile action. diff --git a/core/swift41Action/CHANGELOG.md b/core/swift41Action/CHANGELOG.md new file mode 100644 index 0000000..33fe179 --- /dev/null +++ b/core/swift41Action/CHANGELOG.md @@ -0,0 +1,11 @@ +# Apache OpenWhisk Swift 4.1 Runtime Container + +## 0.1.0 +Initial Swift 4.1 image + - Image name: `openwhisk/action-swift-v4.1` + - Kind is: `swift:4.1` + +Swift runtime version: [swift-4.1-DEVELOPMENT-SNAPSHOT-2018-02-13-a](https://swift.org/builds/swift-4.1-branch/ubuntu1404/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-02-13-a/swift-4.1-DEVELOPMENT-SNAPSHOT-2018-02-13-a-ubuntu14.04.tar.gz) + +Packages included: + - No packages included, use Package.swift and pre-compile action. diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh index 97f2ed0..ce6f369 100755 --- a/tools/travis/publish.sh +++ b/tools/travis/publish.sh @@ -17,7 +17,6 @@ if [ ${RUNTIME_VERSION} == "3.1.1" ]; then RUNTIME="swift3.1.1Action" elif [ ${RUNTIME_VERSION} == "4.0" ]; then RUNTIME="swift40Action" -fi elif [ ${RUNTIME_VERSION} == "4.1" ]; then RUNTIME="swift41Action" fi ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
