Skip to content

fix(ci): extract release notes and patch body via GitHub API#34

Merged
dkmnx merged 2 commits into
mainfrom
develop
May 14, 2026
Merged

fix(ci): extract release notes and patch body via GitHub API#34
dkmnx merged 2 commits into
mainfrom
develop

Conversation

@dkmnx
Copy link
Copy Markdown
Owner

@dkmnx dkmnx commented May 14, 2026

Summary

  • GoReleaser v2 ignores the --release-notes flag, so release bodies were empty (just the footer)
  • Fixed awk extraction to use boundary-based detection (stops at next ## [ header instead of version-specific matching that never exits)
  • Work around GoReleaser bug by patching the release body via gh api after goreleaser creates the release

Test plan

  • Verified awk extracts correct section for all edge cases (empty Unreleased, non-empty Unreleased, no Unreleased, last version)
  • Verified RC6 release had full changelog body with footer via gh api

dkmnx added 2 commits May 15, 2026 01:28
GoReleaser v2 ignores the --release-notes flag. Work around by extracting
release notes from CHANGELOG.md with awk (skipping [Unreleased], stopping
at the next version boundary) and patching the release body via gh api
after goreleaser creates the release.
@dkmnx dkmnx merged commit 98b1a1d into main May 14, 2026
14 checks passed
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