Skip to content

Commit 1ee6b17

Browse files
authored
Examples: Use plugin release 0.2.0 and remove Package.resolved (#31)
### Motivation Release 0.1.0 timed out when uploading to Docker Hub and ECR (#17), so the examples should not allow it to be used. At the time of the initial release, the examples also needed some dependencies to be pinned to the newest versions to avoid compilation problems with Swift 6.0 or the static Linux SDK. These problems have now been fixed upstream, so any new build should succeed. Furthermore, as time goes on, pinning dependencies means that any new compilation problems arising upstream are hidden. Removing `Package.resolved` means that each clean build will use the newest available dependencies, so new problems upstream will be highlighted. ### Modifications For each example: Update `Package.swift` to use the new plugin release. Remove `Package.resolved`. ### Result It should be possible to build and publish the examples to Docker Hub or ECR. ### Test Plan Automated tests still pass; also tested manually with several registries.
1 parent 315b571 commit 1ee6b17

File tree

4 files changed

+2
-419
lines changed

4 files changed

+2
-419
lines changed

Examples/HelloWorldHummingbird/Package.resolved

Lines changed: 0 additions & 204 deletions
This file was deleted.

Examples/HelloWorldHummingbird/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
platforms: [.macOS(.v14)],
2222
dependencies: [
2323
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.1.0"),
24-
.package(url: "https://github.com/apple/swift-container-plugin", from: "0.1.0"),
24+
.package(url: "https://github.com/apple/swift-container-plugin", from: "0.2.0"),
2525
],
2626
targets: [
2727
.executableTarget(name: "hello-world", dependencies: [.product(name: "Hummingbird", package: "hummingbird")])

0 commit comments

Comments
 (0)