From c4b06193e6712b23b65437b051213e4066847bcd Mon Sep 17 00:00:00 2001 From: C H Date: Wed, 24 Apr 2024 17:57:50 +0800 Subject: [PATCH] Updated protocgen script --- scripts/protocgen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index 16f91f60..cf6d7390 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -14,7 +14,7 @@ for dir in $proto_dirs; do echo ${dir} for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do if grep "option go_package" $file &> /dev/null ; then - buf generate --template buf.gen.gogo.yml $file + buf generate --template buf.gen.gogo.yaml $file fi done done @@ -22,7 +22,7 @@ done protoc_install_proto_gen_doc echo "Generating proto docs" -buf generate --template buf.gen.doc.yml +buf generate --template buf.gen.doc.yaml cd ..