Skip to content

Commit 3e75bbb

Browse files
authored
Update example dependencies to point to the new beta tag (#2164)
1 parent b143369 commit 3e75bbb

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

Examples/echo/Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ let package = Package(
2121
name: "echo",
2222
platforms: [.macOS("15.0")],
2323
dependencies: [
24-
.package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"),
25-
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"),
26-
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", branch: "main"),
24+
.package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"),
25+
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"),
26+
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.0.0-beta.3"),
2727
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
2828
],
2929
targets: [

Examples/error-details/Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ let package = Package(
2121
name: "error-details",
2222
platforms: [.macOS(.v15)],
2323
dependencies: [
24-
.package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"),
25-
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"),
24+
.package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"),
25+
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"),
2626
],
2727
targets: [
2828
.executableTarget(

Examples/hello-world/Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ let package = Package(
2121
name: "hello-world",
2222
platforms: [.macOS("15.0")],
2323
dependencies: [
24-
.package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"),
25-
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"),
26-
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", branch: "main"),
24+
.package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"),
25+
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"),
26+
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.0.0-beta.3"),
2727
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
2828
],
2929
targets: [

Examples/reflection-server/Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ let package = Package(
2121
name: "reflection-server",
2222
platforms: [.macOS(.v15)],
2323
dependencies: [
24-
.package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"),
25-
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"),
26-
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", branch: "main"),
27-
.package(url: "https://github.com/grpc/grpc-swift-extras.git", branch: "main"),
24+
.package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"),
25+
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"),
26+
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.0.0-beta.3"),
27+
.package(url: "https://github.com/grpc/grpc-swift-extras.git", exact: "1.0.0-beta.3"),
2828
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
2929
],
3030
targets: [

Examples/route-guide/Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ let package = Package(
2121
name: "route-guide",
2222
platforms: [.macOS("15.0")],
2323
dependencies: [
24-
.package(url: "https://github.com/grpc/grpc-swift.git", branch: "main"),
25-
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", branch: "main"),
26-
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", branch: "main"),
24+
.package(url: "https://github.com/grpc/grpc-swift.git", exact: "2.0.0-beta.3"),
25+
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", exact: "1.0.0-beta.3"),
26+
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", exact: "1.0.0-beta.3"),
2727
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
2828
],
2929
targets: [

0 commit comments

Comments
 (0)