Skip to content

Trim release notes to highlights when the changelog entry is huge - #27

Closed
Marcogn wants to merge 1 commit into
mainfrom
claude/release-pipeline-changelog-b0qz5k
Closed

Trim release notes to highlights when the changelog entry is huge#27
Marcogn wants to merge 1 commit into
mainfrom
claude/release-pipeline-changelog-b0qz5k

Conversation

@Marcogn

@Marcogn Marcogn commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • release.yml's "Extract changelog section" step used to copy the whole cut CHANGELOG.md section into the GitHub Release body verbatim, no matter its length.
  • Sections at or under 1500 characters are still used verbatim, unchanged.
  • Past that threshold, the release body is reduced to just the section's ### subsection headings (or its top-level - **bold** bullets, for a version with no subsections), followed by a link back to CHANGELOG.md for the full write-up.
  • Same change applied to Marcogn/3DSAppManager's release.yml for consistency between the two pipelines (separate PR).

Test plan

  • python3 -c "import yaml; yaml.safe_load(open('.github/workflows/release.yml'))" — YAML parses.
  • Ran the extraction logic standalone against the real CHANGELOG.md (short ## [1.0.0] entry) — passes through verbatim, as before.
  • Ran the extraction logic standalone against a simulated multi-thousand-character entry with ### Added/### Changed/### Fixed/### Removed subsections — correctly collapses to the four headings plus the CHANGELOG.md link.
  • Not run end-to-end via an actual workflow_dispatch (would cut a real release).

Generated by Claude Code

The "Extract changelog section" step used to hand the whole cut
CHANGELOG.md section to the GitHub Release body verbatim, regardless of
length. Sections at or under 1500 characters still work that way; past
that, the body is reduced to the section's "### " subsection headings
(or its top-level "- **bold**" bullets, for a version with no
subsections) plus a link back to CHANGELOG.md for the full write-up.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VQrE6ntdCMh5JQfS5m5WVL

Marcogn commented Aug 19, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #28, which drops the 1500-character cutoff entirely in favor of always extracting significant-change highlights (uniform with the same change in 3DSAppManager and ThePatientGamerHelper). Closing this in favor of that PR.


Generated by Claude Code

@Marcogn Marcogn closed this Aug 19, 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.

2 participants