mirror of
https://github.com/astral-sh/ty.git
synced 2026-07-20 22:15:40 -04:00
dd697a4767
## Summary I ran `release.sh` locally and it failed to add the link to the typeshed diff for a changelog entry that updated our vendored typeshed stubs. Codex's summary of the changes here: > The previous implementation worked when the submodule’s local main branch pointed to the same Ruff revision that ty had pinned. This is normally true on long-lived release checkouts: the previous release updates ruff/main, ty records that revision, and subsequent submodule updates detach the working tree without advancing the local branch. But a fresh clone can have different state. > > Reading the old commit from ty’s recorded Ruff gitlink gives us the actual release baseline regardless of the local submodule branch state. This preserves the existing behavior on long-lived checkouts while making releases work reliably from fresh clones.