Skip to content

Integrate release notes script into dash_site tool#13567

Merged
abdallahshaban557 merged 2 commits into
mainfrom
feat/release-notes-generator
Jul 10, 2026
Merged

Integrate release notes script into dash_site tool#13567
abdallahshaban557 merged 2 commits into
mainfrom
feat/release-notes-generator

Conversation

@parlough

Copy link
Copy Markdown
Member

For example, can be run like the following to generate release notes for 3.44.0:

GITHUB_TOKEN=<your_gh_token> dart run dash_site generate-release-notes \
  --release 3.44.0 \
  --previous-tag 3.41.0

@parlough parlough requested review from a team and sfshaza2 as code owners July 10, 2026 19:37

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new generate-release-notes command to the dash_site tool to automate generating Flutter release notes from GitHub pull requests, shares the nonEmpty utility function across commands, and updates the release notes documentation. The review feedback highlights a potential compilation error due to passing a nullable notes.body to a function expecting a non-nullable string, and suggests a cleaner approach to avoid the null-assertion operator (!) on previousLine by leveraging Dart's type promotion.

Comment thread tool/dash_site/lib/src/commands/generate_release_notes.dart
Comment thread tool/dash_site/lib/src/commands/generate_release_notes.dart Outdated
@flutter-website-bot

flutter-website-bot commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit 84bbbf7):

https://flutter-docs-prod--docs-pr13567-feat-release-notes-gen-yhqy9rzo.web.app

@flutter-website-bot

flutter-website-bot commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit 84bbbf7):

https://flutter-dev-230821--www-pr13567-feat-release-notes-gen-za72vsxk.web.app

@abdallahshaban557 abdallahshaban557 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abdallahshaban557 abdallahshaban557 merged commit be9eb20 into main Jul 10, 2026
18 checks passed
@abdallahshaban557 abdallahshaban557 deleted the feat/release-notes-generator branch July 10, 2026 21:28
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.

3 participants