diff --git a/build-support/scripts/protobuf.sh b/build-support/scripts/protobuf.sh index 7b815d355ea2e..f9c193767432c 100755 --- a/build-support/scripts/protobuf.sh +++ b/build-support/scripts/protobuf.sh @@ -42,6 +42,9 @@ function main { esac done + # clear old ratelimit.tmp files + find . -name .ratelimit.tmp -delete + local mods=$(find . -name 'buf.gen.yaml' -exec dirname {} \; | sort) for mod in $mods do