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 \