From c6ea8a0b280bad54ef936f0f785f250cbb197a2a Mon Sep 17 00:00:00 2001 From: Will-hxw <1176843521@qq.com> Date: Tue, 21 Apr 2026 12:00:20 +0800 Subject: [PATCH] fix(release): include lock files in version bump check The has_changes() function only considered .py and .ts files when deciding whether to bump a package version. This caused packages with only lockfile changes (e.g., uv.lock from dependabot) to be skipped during release. Fixes Issue #3870 --- scripts/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.py b/scripts/release.py index e4ce1274c3..e4bb64ecd5 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -113,7 +113,7 @@ def has_changes(path: Path, git_hash: GitHash) -> bool: ) changed_files = [Path(f) for f in output.stdout.splitlines()] - relevant_files = [f for f in changed_files if f.suffix in [".py", ".ts"]] + relevant_files = [f for f in changed_files if f.suffix in [".py", ".ts", ".lock"]] return len(relevant_files) >= 1 except subprocess.CalledProcessError: return False