Commit fc4ee2f
committed
feat: Add task to generate AI release notes
Added a new Tekton task, `ai-release-notes`, to the release pipeline.
This task is responsible for generating release notes using an AI model.
The task utilizes a new Python script, `hack/generate-releasenotes.py`,
to:
- Fetch commit data between the current and previous release tags.
- Map commits to their corresponding pull requests.
- Extract JIRA ticket identifiers from commit messages and PR bodies.
- Send this information to a Gemini model for categorization and
summarization.
- Format the AI-generated notes along with static header, installation,
and changelog sections.
This enhances the release process by automating the creation of detailed
and informative release notes.
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>1 parent 106b201 commit fc4ee2f
2 files changed
+538
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
133 | 166 | | |
134 | 167 | | |
135 | 168 | | |
| |||
0 commit comments