Skip to content

fix: prevent duplicated release notes from matrix job re-generation - #9

Closed
coldhighsun wants to merge 1 commit into
mainfrom
fix/release-notes-duplication
Closed

fix: prevent duplicated release notes from matrix job re-generation#9
coldhighsun wants to merge 1 commit into
mainfrom
fix/release-notes-duplication

Conversation

@coldhighsun

@coldhighsun coldhighsun commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • The release job runs as a 4-way RID matrix, and every leg called action-gh-release with generate_release_notes: true, so the generated notes got appended to the same release once per leg (4 times total).
  • Split out a separate finalize-release job that runs once after all platform artifacts are uploaded, to generate the release notes and set the title.

Test plan

  • Push a test tag (e.g. v0.0.0-test1) to trigger the release workflow and confirm the Changes section appears only once

release job 按 4 个 RID 并行执行,每个分支都设置了 generate_release_notes: true,
导致 softprops/action-gh-release 每次都向同一 release 追加一次生成的 notes。
现拆出单独的 finalize-release job,在所有构建产物上传完成后统一生成一次。
@coldhighsun coldhighsun closed this Aug 5, 2026
@coldhighsun coldhighsun changed the title fix: 避免 release notes 因矩阵 job 重复生成而重复 fix: prevent duplicated release notes from matrix job re-generation Aug 5, 2026
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