Skip to content

ci: automate GitHub release notes generation#3879

Merged
jknack merged 1 commit intomainfrom
ciautomate
Mar 15, 2026
Merged

ci: automate GitHub release notes generation#3879
jknack merged 1 commit intomainfrom
ciautomate

Conversation

@jknack
Copy link
Member

@jknack jknack commented Mar 14, 2026

This updates the Maven Central release workflow to automatically generate and format GitHub release notes, replacing the manual process while preserving the exact same template.

Key changes:

  • Job Separation: Splits the Maven deployment and release note generation into two distinct jobs. The update-release-notes job uses needs: release to ensure it only runs if the deployment succeeds.
  • Dynamic Tag Resolution: Automatically calculates the previous version tag using semantic version sorting to generate the Changelog diff link.
  • Automated Issue Fetching: Uses the GitHub CLI to dynamically fetch all closed issues and PRs associated with the release milestone, automatically formatting them into a markdown list and excluding items with the dependencies label.
  • Template Parity: Recreates the custom manual layout, including the Changes section (with resolved milestone and dependency links) and the Support my work sponsor list.

This updates the Maven Central release workflow to automatically generate and format GitHub release notes, replacing the manual process while preserving the exact same template.

Key changes:
* **Job Separation:** Splits the Maven deployment and release note generation into two distinct jobs. The `update-release-notes` job uses `needs: release` to ensure it only runs if the deployment succeeds.
* **Dynamic Tag Resolution:** Automatically calculates the previous version tag using semantic version sorting to generate the `Changelog` diff link.
* **Automated Issue Fetching:** Uses the GitHub CLI to dynamically fetch all closed issues and PRs associated with the release milestone, automatically formatting them into a markdown list and excluding items with the `dependencies` label.
* **Template Parity:** Recreates the custom manual layout, including the `Changes` section (with resolved milestone and dependency links) and the `Support my work` sponsor list.
@jknack jknack added this to the 4.1.0 milestone Mar 14, 2026
@jknack jknack merged commit bf9d9f5 into main Mar 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant