Skip to content

fix: generate release notes from commit range to list contributions for all release types#211

Merged
Flix6x merged 2 commits into
mainfrom
copilot/issue-210-fix
Jun 2, 2026
Merged

fix: generate release notes from commit range to list contributions for all release types#211
Flix6x merged 2 commits into
mainfrom
copilot/issue-210-fix

Conversation

Copilot AI commented May 29, 2026

Copy link
Copy Markdown
Contributor

Release notes for cherry-pick/backport tags (like v0.9.1) are empty because GitHub's note-generation API finds PRs by matching commits in the range previous_tag…new_tag — a cherry-pick commit has a different SHA from the original merge commit, so nothing appears.

Changes

  • .github/workflows/release.yml: Replace generate_release_notes: true on softprops/action-gh-release with a Python script that walks the git log in the previous_tag…current_tag range on whichever branch the tag lives, extracts PR numbers from commit messages (the (#NNN) squash-merge pattern, which cherry-pick commits preserve), fetches PR details via the GitHub API, and categorises them according to the label config in .github/release.yml. This gives the right set of PRs for both release types:

    • Normal releases (tagged on main): shows all PRs merged since the previous tag.
    • Patch/backport releases (tagged on e.g. 0.9.x): shows only the cherry-picked PRs, compared against the previous lower version tag — not against the HEAD of main.

Copilot AI changed the title fix: generate release notes from default branch to list contributions for backport releases fix: generate release notes from default branch to list all contributions May 29, 2026
Copilot finished work on behalf of Flix6x May 29, 2026 14:57
Copilot AI requested a review from Flix6x May 29, 2026 14:57
Comment thread .github/workflows/release.yml Outdated
Copilot AI changed the title fix: generate release notes from default branch to list all contributions fix: generate release notes from commit range to list contributions for all release types May 29, 2026
Copilot finished work on behalf of Flix6x May 29, 2026 22:24
@Flix6x Flix6x marked this pull request as ready for review May 29, 2026 23:00
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 26665239964

Coverage remained the same at 96.176%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 706
Covered Lines: 679
Line Coverage: 96.18%
Coverage Strength: 5.77 hits per line

💛 - Coveralls

Copilot finished work on behalf of Flix6x June 2, 2026 12:45
@Flix6x Flix6x merged commit 3fbfdc5 into main Jun 2, 2026
13 checks passed
@Flix6x Flix6x deleted the copilot/issue-210-fix branch June 2, 2026 13:08
@Flix6x Flix6x linked an issue Jun 2, 2026 that may be closed by this pull request
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.

Release template does not list contributions anymore

3 participants