do not use .upToNextMinor in dependencies definitions

This commit is contained in:
Sebastien Stormacq
2023-12-14 07:23:43 -05:00
parent 6214c248b4
commit b3c55169eb
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ let package = Package(
],
products: [.library(name: "OpenAPILambda", targets: ["OpenAPILambda"])],
dependencies: [
.package(url: "https://github.com/apple/swift-openapi-runtime.git", .upToNextMinor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-openapi-runtime.git", from: "1.0.0"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", branch: "1.0.0-alpha.1"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", branch: "main"),
.package(url: "https://github.com/apple/swift-docc-plugin", branch: "main"),
+4 -4
View File
@@ -34,8 +34,8 @@ To expose your OpenAPI implementation as an AWS Lambda function:
```swift
dependencies: [
.package(url: "https://github.com/apple/swift-openapi-generator.git", .upToNextMinor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-openapi-runtime.git", .upToNextMinor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-openapi-generator.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-openapi-runtime.git", from: "1.0.0"),
// add these three dependencies
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", branch: "1.0.0-alpha.1"),
@@ -201,8 +201,8 @@ let package = Package(
.executable(name: "QuoteService", targets: ["QuoteService"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-openapi-generator.git", .upToNextMinor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-openapi-runtime.git", .upToNextMinor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-openapi-generator.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-openapi-runtime.git", from: "1.0.0"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", branch: "1.0.0-alpha.1"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", branch: "main"),
.package(url: "https://github.com/sebsto/swift-openapi-lambda", branch: "main")