From a3cf03520df69cb7fae9ee039390627ef310f532 Mon Sep 17 00:00:00 2001 From: Gus Cairo Date: Fri, 17 Jan 2025 15:05:12 +0000 Subject: [PATCH] Update example dependencies to point to the new beta tag --- Examples/echo/Package.swift | 6 +++--- Examples/error-details/Package.swift | 4 ++-- Examples/hello-world/Package.swift | 6 +++--- Examples/reflection-server/Package.swift | 8 ++++---- Examples/route-guide/Package.swift | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Examples/echo/Package.swift b/Examples/echo/Package.swift index 224fff79c..ca473e981 100644 --- a/Examples/echo/Package.swift +++ b/Examples/echo/Package.swift @@ -21,9 +21,9 @@ let package = Package( name: "echo", platforms: [.macOS("15.0")], dependencies: [ - .package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", branch: "main"), + .package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.0.0-beta.3"), .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"), ], targets: [ diff --git a/Examples/error-details/Package.swift b/Examples/error-details/Package.swift index 2598c8d80..c7faca691 100644 --- a/Examples/error-details/Package.swift +++ b/Examples/error-details/Package.swift @@ -21,8 +21,8 @@ let package = Package( name: "error-details", platforms: [.macOS(.v15)], dependencies: [ - .package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"), + .package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"), ], targets: [ .executableTarget( diff --git a/Examples/hello-world/Package.swift b/Examples/hello-world/Package.swift index f4f32f991..18eb5c1f6 100644 --- a/Examples/hello-world/Package.swift +++ b/Examples/hello-world/Package.swift @@ -21,9 +21,9 @@ let package = Package( name: "hello-world", platforms: [.macOS("15.0")], dependencies: [ - .package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", branch: "main"), + .package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.0.0-beta.3"), .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"), ], targets: [ diff --git a/Examples/reflection-server/Package.swift b/Examples/reflection-server/Package.swift index 37a3942b2..03aed7629 100644 --- a/Examples/reflection-server/Package.swift +++ b/Examples/reflection-server/Package.swift @@ -21,10 +21,10 @@ let package = Package( name: "reflection-server", platforms: [.macOS(.v15)], dependencies: [ - .package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-extras.git", branch: "main"), + .package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-extras.git", exact: "1.0.0-beta.3"), .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"), ], targets: [ diff --git a/Examples/route-guide/Package.swift b/Examples/route-guide/Package.swift index bf26e8ffe..86df4fa62 100644 --- a/Examples/route-guide/Package.swift +++ b/Examples/route-guide/Package.swift @@ -21,9 +21,9 @@ let package = Package( name: "route-guide", platforms: [.macOS("15.0")], dependencies: [ - .package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"), - .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", branch: "main"), + .package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"), + .package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.0.0-beta.3"), .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"), ], targets: [