From e4f0264ec1f6a81ac28b0028d4dbca07d471c80e Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Thu, 8 Oct 2026 01:42:27 +1100 Subject: [PATCH] fix(release): a dependency bump is releasable for every binary --- tools/release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/release.sh b/tools/release.sh index c86bfa1ca..0386db91f 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -50,11 +50,13 @@ if [ "$MODE" = "prepare" ]; then fi # component_dirs -- repo-relative dirs of every package the binary -# links, plus the files that build only that binary. +# links, plus the files that build only that binary. go.mod and go.sum pin the +# dependencies every binary links, so a dependency bump changes them all. component_dirs() { go list -deps -f '{{.Dir}}' "$1" 2>/dev/null | grep -F "$PWD/" | sed "s|^$PWD/||" + printf '%s\n' go.mod go.sum } # matches -- true when any changed file lives in one