diff --git a/build-support/scripts/protobuf.sh b/build-support/scripts/protobuf.sh index 7b815d355e..f9c1937674 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