Skip to content

fix(ci): extract full release notes from CHANGELOG#118

Merged
abubnalitic-nbl merged 3 commits into
mainfrom
fix/release-notes-regex
Apr 21, 2026
Merged

fix(ci): extract full release notes from CHANGELOG#118
abubnalitic-nbl merged 3 commits into
mainfrom
fix/release-notes-regex

Conversation

@abubnalitic-nbl

@abubnalitic-nbl abubnalitic-nbl commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Two fixes for the release workflow pipeline:

  1. Release notes extraction — the regex stopped at the first ### subsection heading instead of the next ## version heading, producing an empty body on the v1.1.0 GitHub Release. Narrows the lookahead to match only version headings.

  2. Lockfile syncsemantic-release bumps the version in pyproject.toml but the release PR didn't regenerate uv.lock, breaking the Docker build on merge. Adds uv lock after the version bump and includes uv.lock in the PR paths.

v1.1.0 release notes have been backfilled separately.

Test plan

  • CI passes
  • Next release PR includes an updated uv.lock and Docker build passes
  • Next release produces a GitHub Release with populated notes

The regex lookahead `\n#+\s` matched any heading level (##, ###, ####),
so the lazy capture group stopped at the first `### Bug Fixes` subsection
and returned an empty string. Narrow the lookahead to `\n## ` so it only
stops at h2 version boundaries.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@github-actions

github-actions Bot commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Vulnerability Scan: Passed

Image: netbox-mcp-server:scan

No vulnerabilities found.

Commit: 1d180b8

@abubnalitic-nbl abubnalitic-nbl merged commit d5b3657 into main Apr 21, 2026
14 checks passed
@abubnalitic-nbl abubnalitic-nbl deleted the fix/release-notes-regex branch April 21, 2026 17:37
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