From b3c55169ebdb57c69828284d2bd078b24735201b Mon Sep 17 00:00:00 2001 From: Sebastien Stormacq Date: Thu, 14 Dec 2023 07:23:43 -0500 Subject: [PATCH] do not use `.upToNextMinor` in dependencies definitions --- Package.swift | 2 +- README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Package.swift b/Package.swift index 0230537..caa8bc6 100644 --- a/Package.swift +++ b/Package.swift @@ -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"), diff --git a/README.md b/README.md index 0661ae6..fd47ad1 100644 --- a/README.md +++ b/README.md @@ -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")