Skip to content

fix(release): include lock files in version bump check#3993

Open
Will-hxw wants to merge 1 commit intomodelcontextprotocol:mainfrom
Will-hxw:fix/3870-release-lockfile-bump
Open

fix(release): include lock files in version bump check#3993
Will-hxw wants to merge 1 commit intomodelcontextprotocol:mainfrom
Will-hxw:fix/3870-release-lockfile-bump

Conversation

@Will-hxw
Copy link
Copy Markdown

Summary

  • Added .lock to the list of file extensions checked in has_changes() function
  • This ensures packages with only lockfile changes (e.g., uv.lock from dependabot) get version bumped

Why

The has_changes() function in scripts/release.py only considered .py and .ts files when deciding which packages to version-bump. If a sub-package only had lockfile changes between tags, it would be skipped.

Validation

  • Only one line changed in one file
  • Fix matches the issue description

Related

Fixes Issue #3870

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 modelcontextprotocol#3870
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant