From e3140f471e1e479d5c6bc169e4c9040af1fc194b Mon Sep 17 00:00:00 2001 From: dannyboy820 Date: Fri, 29 Apr 2022 12:28:10 +0300 Subject: [PATCH] fix: `buf protoc` was moved to `buf alpha protoc` (#462) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/bufbuild/buf/pull/915 Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com> --- scripts/protocgen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index 5d5ce2d9..40a6c9c5 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -21,7 +21,7 @@ protoc_gen_doc proto_dirs=$(find ./proto -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) # TODO: migrate to `buf build` for dir in $proto_dirs; do - buf protoc \ + buf alpha protoc \ -I "proto" \ -I "third_party/proto" \ --gocosmos_out=plugins=interfacetype+grpc,\ @@ -33,7 +33,7 @@ done # command to generate docs using protoc-gen-doc # TODO: migrate to `buf build` -buf protoc \ +buf alpha protoc \ -I "proto" \ -I "third_party/proto" \ --doc_out=./docs/protocol \