-
ci(release): roll CHANGELOG [Unreleased] into the version on tag (#4904)
发布于
2026-08-30 11:16:22 +00:00 | 16 次提交 在此版本后已推送到 master- ci(release): roll CHANGELOG [Unreleased] into the version on tag
The changelog once drifted five releases behind the tags, with
everything piled under [Unreleased] (reconstructed in #4898), because
releases are cut automatically but the rollup was manual.Mechanize it: when the release workflow cuts vX.Y.Z and [Unreleased]
has entries, it rewrites the header into an empty [Unreleased] plus a
dated [X.Y.Z] section carrying those entries, commits, pushes to
master with the release PAT, and tags the rolled commit. If the push
is rejected (branch protection), it warns and tags the current HEAD —
a release is never blocked on the docs commit. With no entries there
is nothing to roll and the step is skipped.- Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI 175728472+Copilot@users.noreply.github.com
Co-authored-by: Claude noreply@anthropic.com
Co-authored-by: Copilot Autofix powered by AI 175728472+Copilot@users.noreply.github.com下载附件