Skip to content

chore(release-ci): use Gemini to generate release notes - #383

Merged
Adamskiee merged 2 commits into
mainfrom
chore/update-bundle-release-notes
Aug 18, 2026
Merged

chore(release-ci): use Gemini to generate release notes#383
Adamskiee merged 2 commits into
mainfrom
chore/update-bundle-release-notes

Conversation

@Adamskiee

Copy link
Copy Markdown
Collaborator

Description

This PR enhances the GitHub release workflows to automatically generate detailed, categorized release notes using the Gemini API.

Changes Made

  • Created scripts/generate_release_notes.sh to fetch detailed commit logs and pass them to the Gemini-1.5-flash model with an analytical prompt.
  • Modified all 6 release workflows (release-mobile.yml, release-server.yml, etc.) and the bundle release validation script to execute this script if GEMINI_API_KEY is set.
  • Retained the old git tag -l annotated tag behavior as a fallback if the API key is not present.

Added release notes in CHANGELOG.md for bundle/v0.1.0 and bundle/v0.2.0.
Added a new script scripts/generate_release_notes.sh that prompts Gemini-1.5-flash with the commit logs to generate detailed, categorized release notes.
Modified all GitHub release workflows and the bundle release validation script to execute this new script if GEMINI_API_KEY is present, while retaining the old annotated tag parsing behavior as a fallback.
@Adamskiee
Adamskiee merged commit 120f66c into main Aug 18, 2026
1 check failed
@Adamskiee
Adamskiee deleted the chore/update-bundle-release-notes branch August 18, 2026 10:25
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