Skip to content

fix(ci): match linked changelog headings in release notes awk - #505

Merged
c-vigo merged 2 commits into
release/0.3.2from
bugfix/504-publish-release-notes-error
Apr 8, 2026
Merged

c-vigo merged 2 commits into
release/0.3.2from
bugfix/504-publish-release-notes-error

Conversation

@c-vigo

@c-vigo c-vigo commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Description

Fix release notes extraction in the publish job of release.yml. After #496 added GitHub release links to finalized changelog headings, the awk command that extracts version-specific notes stopped matching because it expected ## [X.Y.Z] - date but got ## [X.Y.Z](url) - date. This changes the match to use the ## [VERSION] prefix only.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • .github/workflows/release.yml -- Changed the awk command 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

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

N/A

Refs: #504

@c-vigo c-vigo self-assigned this Apr 8, 2026
@c-vigo
c-vigo requested a review from Copilot April 8, 2026 07:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml awk logic to match the ## [VERSION] prefix rather than ## [VERSION] - .
  • Add a Fixed changelog 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.

Comment thread .github/workflows/release.yml Resolved
@c-vigo
c-vigo enabled auto-merge April 8, 2026 09:19
@c-vigo
c-vigo merged commit 0568f76 into release/0.3.2 Apr 8, 2026
11 checks passed
@c-vigo
c-vigo deleted the bugfix/504-publish-release-notes-error branch April 8, 2026 09:25
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