mirror of https://github.com/hashicorp/consul
Pin protoc-gen-go-binary version (#15929)
parent
821869ba04
commit
5989784016
|
@ -13,6 +13,7 @@ BUF_VERSION='v1.4.0'
|
|||
PROTOC_GEN_GO_GRPC_VERSION="v1.2.0"
|
||||
MOG_VERSION='v0.3.0'
|
||||
PROTOC_GO_INJECT_TAG_VERSION='v1.3.0'
|
||||
PROTOC_GEN_GO_BINARY_VERSION="v0.0.1"
|
||||
DEEP_COPY_VERSION='bc3f5aa5735d8a54961580a3a24422c308c831c2'
|
||||
|
||||
MOCKED_PB_DIRS= pbdns
|
||||
|
|
|
@ -73,6 +73,7 @@ function proto_tools_install {
|
|||
mog_version="$(make --no-print-directory print-MOG_VERSION)"
|
||||
protoc_go_inject_tag_version="$(make --no-print-directory print-PROTOC_GO_INJECT_TAG_VERSION)"
|
||||
buf_version="$(make --no-print-directory print-BUF_VERSION)"
|
||||
protoc_gen_go_binary_version="$(make --no-print-directory print-PROTOC_GEN_GO_BINARY_VERSION)"
|
||||
|
||||
# echo "go: ${protoc_gen_go_version}"
|
||||
# echo "mog: ${mog_version}"
|
||||
|
@ -102,9 +103,11 @@ function proto_tools_install {
|
|||
"${protoc_gen_go_grpc_version}" \
|
||||
'google.golang.org/grpc/cmd/protoc-gen-go-grpc'
|
||||
|
||||
install_unversioned_tool \
|
||||
install_versioned_tool \
|
||||
protoc-gen-go-binary \
|
||||
'github.com/hashicorp/protoc-gen-go-binary@master'
|
||||
'github.com/hashicorp/protoc-gen-go-binary' \
|
||||
"${protoc_gen_go_binary_version}" \
|
||||
'github.com/hashicorp/protoc-gen-go-binary'
|
||||
|
||||
install_versioned_tool \
|
||||
'protoc-go-inject-tag' \
|
||||
|
|
Loading…
Reference in New Issue