Skip to content

Commit

Permalink
Update protoc and protoc-gen-go
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev committed Dec 11, 2023
1 parent 9ee0891 commit ac9cadc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions make/go/dep_protoc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ $(call _assert_var,CACHE_INCLUDE)
$(call _assert_var,CACHE_BIN)

# Settable
# https://github.com/protocolbuffers/protobuf/releases 20230216 checked 20230216
# https://github.com/protocolbuffers/protobuf/releases 20231101 checked 20231102
# NOTE: Set to version compatible with genproto source code (only used in tests).
PROTOC_VERSION ?= 22.0
PROTOC_VERSION ?= 25.0

ifeq ($(UNAME_OS),Darwin)
PROTOC_OS := osx
Expand Down
5 changes: 3 additions & 2 deletions make/go/dep_protoc_gen_go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ $(call _assert_var,CACHE_VERSIONS)
$(call _assert_var,CACHE_BIN)

# Settable
# https://github.com/protocolbuffers/protobuf-go/releases 20230626 checked 20230626
PROTOC_GEN_GO_VERSION ?= v1.31.0
# https://github.com/protocolbuffers/protobuf-go/commits/master 20231027 checked 20231102
# TODO: Change back to releases once editions is released on protobuf-go
PROTOC_GEN_GO_VERSION ?= f4a6c1f6e5c183174c1ea206ed49916e8f1dd1e8

GO_GET_PKGS := $(GO_GET_PKGS) \
google.golang.org/protobuf/proto@$(PROTOC_GEN_GO_VERSION)
Expand Down

0 comments on commit ac9cadc

Please sign in to comment.