Skip to content

Commit 65e3de7

Browse files
authored
Readme, Examples: Update minimum plugin version in examples (#65)
Motivation ---------- Examples showing how to use the plugin should refer to the latest version. SwiftPM will choose the most recent version automatically, but it can be distracting for new users if examples refer to old versions of the plugin. Modifications ------------- Update README and `Package.swift` files in `Examples` to use release 0.4.0. Result ------ Examples are up to date. Test Plan --------- Existing tests continue to pass.
1 parent 42fa39e commit 65e3de7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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.2.0"),
24+
.package(url: "https://github.com/apple/swift-container-plugin", from: "0.4.0"),
2525
],
2626
targets: [
2727
.executableTarget(name: "hello-world", dependencies: [.product(name: "Hummingbird", package: "hummingbird")])

Examples/HelloWorldVapor/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(.v13)],
2222
dependencies: [
2323
.package(url: "https://github.com/vapor/vapor", .upToNextMajor(from: "4.102.0")),
24-
.package(url: "https://github.com/apple/swift-container-plugin", from: "0.2.0"),
24+
.package(url: "https://github.com/apple/swift-container-plugin", from: "0.4.0"),
2525
],
2626
targets: [.executableTarget(name: "hello-world", dependencies: [.product(name: "Vapor", package: "vapor")])]
2727
)

Sources/ContainerImageBuilderPluginDocumentation/Documentation.docc/ContainerImageBuilderPlugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ swift-6.0.1-RELEASE_static-linux-0.0.1
4141
Swift Container Plugin is distributed as a Swift Package Manager package. Use the `swift package` command to add it to your project:
4242

4343
```shell
44-
swift package add-dependency https://github.com/apple/swift-container-plugin --from 0.1.0
44+
swift package add-dependency https://github.com/apple/swift-container-plugin --from 0.4.0
4545
```
4646

4747
Alternatively, append the following lines to `Package.swift`:
4848

4949
```swift
5050
package.dependencies += [
51-
.package(url: "https://github.com/apple/swift-container-plugin", from: "0.1.0"),
51+
.package(url: "https://github.com/apple/swift-container-plugin", from: "0.4.0"),
5252
]
5353
```
5454

0 commit comments

Comments
 (0)