Skip to content

Commit 46c8c87

Browse files
Update genproto.sh library protoc and protoc-gen-go versions
Run genproto.sh
1 parent 3a8f4fb commit 46c8c87

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

BUILD.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you change the gRPC API, generate `api/*.pb.go` in the following way:
2323
$ ./tools/grpc/genproto.sh
2424
```
2525

26-
In order for the script to run, you'll need protoc (version 3.19.1) in your PATH.
26+
In order for the script to run, you'll need protoc (version 25.6) in your PATH.
2727

2828
## Releases
2929

tools/grpc/genproto.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ if ! [[ "$0" =~ "tools/grpc/genproto.sh" ]]; then
1313
exit 255
1414
fi
1515

16-
if ! [[ $(protoc --version) =~ "3.19.1" ]]; then
17-
echo "could not find protoc 3.19.1, is it installed + in PATH?"
16+
if ! [[ $(protoc --version) =~ "25.6" ]]; then
17+
echo "could not find protoc 25.6, is it installed + in PATH?"
1818
exit 255
1919
fi
2020

2121
echo "installing plugins"
22-
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.1
22+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.5
2323
go install google.golang.org/grpc/cmd/[email protected]
2424

2525
echo "generating code"

0 commit comments

Comments
 (0)