Repository navigation
fix(ci): match linked changelog headings in release notes awk - #505
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Fixes GitHub Release notes extraction in the publish job by updating the awk section matcher to handle finalized changelog headings that include release-tag links (e.g., ## [X.Y.Z](url) - date).
Changes:
- Update
.github/workflows/release.ymlawklogic to match the## [VERSION]prefix rather than## [VERSION] -. - Add a
Fixedchangelog entry documenting the release notes extraction regression and fix. - Mirror the changelog entry into the workspace template changelog.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/release.yml |
Adjusts release-notes extraction to match linked changelog headings during final publish. |
CHANGELOG.md |
Documents the fix under Fixed for #504. |
assets/workspace/.devcontainer/CHANGELOG.md |
Mirrors the same changelog entry for the workspace template. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix release notes extraction in the
publishjob ofrelease.yml. After #496 added GitHub release links to finalized changelog headings, theawkcommand that extracts version-specific notes stopped matching because it expected## [X.Y.Z] - datebut got## [X.Y.Z](url) - date. This changes the match to use the## [VERSION]prefix only.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
.github/workflows/release.yml-- Changed theawkcommand in the publish job to match on## [VERSION]prefix instead of## [VERSION] -, so that linked headings (## [X.Y.Z](url) - date) are correctly matched for GitHub Release notes extraction.CHANGELOG.md/assets/workspace/.devcontainer/CHANGELOG.md-- Added changelog entry under Fixed for Release 0.3.2 failed -- automatic rollback #504.Changelog Entry
Fixed
awkmatches## [VERSION]prefix so finalized## [X.Y.Z](url) - dateheadings produce GitHub Release notes (regression after prepare-changelog linked headings in [FEATURE] Add release tag link to CHANGELOG heading during finalize-release #496)Testing
just test)Manual Testing Details
N/A
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
N/A
Refs: #504