From 5d9b7a3346a9307e4e5dafba2a3c2f94de73cb89 Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Wed, 21 Jan 2026 11:33:14 -0800 Subject: [PATCH] update update-majors.sh to use linux flag to "find" for use in CI --- hack/update-go-mod/update-majors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/update-go-mod/update-majors.sh b/hack/update-go-mod/update-majors.sh index ae984668f..7e0038dc5 100755 --- a/hack/update-go-mod/update-majors.sh +++ b/hack/update-go-mod/update-majors.sh @@ -36,7 +36,7 @@ for m in $modules; do found_new_version=$? if [[ $found_new_version == 0 ]]; then echo "Found new version $next_version. Replacing imports..." - find . -name './.*' -prune -o \ + find . -wholename './.*' -prune -o \ -path ./generated -prune -o \ -type f -name '*.go' -print0 | xargs -0 sed -i '' "s#${m}#${next_version}#g"