Skip to content

build(release): add process-news command with PR and version marker support - #4062

Merged
rickeylev merged 3 commits into
bazel-contrib:mainfrom
rickeylev:automate_pr_news_processing
Aug 16, 2026
Merged

build(release): add process-news command with PR and version marker support#4062
rickeylev merged 3 commits into
bazel-contrib:mainfrom
rickeylev:automate_pr_news_processing

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

During release preparation, maintainers currently have to manually
locate news fragments from merged PRs, assemble them into
CHANGELOG.md, delete consumed news files, and update documentation
version markers ({versionadded}/{versionchanged}). Doing this manually
across many PRs is tedious and prone to human error.

Add the process-news subcommand to the release tool in
process_news.py to automate merging specific news files and PR
changes into an existing release section in CHANGELOG.md, removing
processed news files, and updating VERSION_NEXT_* markers to the
target release version.

…upport

During release preparation, maintainers currently have to manually locate news
fragments from merged PRs, assemble them into CHANGELOG.md, delete consumed
news files, and update {versionadded}/{versionchanged} documentation markers.
Doing this manually across many PRs is tedious and prone to human error.

Add the process-news subcommand to the release tool in process_news.py
to automate merging specific news files and PR changes into an existing release
section in CHANGELOG.md, removing processed news files, and updating
VERSION_NEXT_* markers to the target release version.
@rickeylev
rickeylev marked this pull request as ready for review August 16, 2026 22:21
@rickeylev
rickeylev requested a review from aignas as a code owner August 16, 2026 22:21
@rickeylev
rickeylev merged commit 259ee66 into bazel-contrib:main Aug 16, 2026
5 checks passed
@rickeylev
rickeylev deleted the automate_pr_news_processing branch August 16, 2026 23:10
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