Skip to content

Conversation

@graycreate
Copy link
Member

Summary

Fixed regex pattern that was preventing changelog extraction from working.

Problem

The pattern \d+ only matches digits, but CHANGELOG.md uses (Build XX) as placeholder. This caused extract_raw_changelog to return nil, falling back to "Bug fixes and improvements".

Solution

Changed \d+ to \w+ to match both:

  • Numeric builds: (Build 31)
  • Placeholder: (Build XX)

🤖 Generated with Claude Code

Changed regex from \d+ to \w+ to match both numeric build numbers
(e.g., "Build 31") and placeholder text (e.g., "Build XX").

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings December 27, 2025 06:12
@graycreate graycreate merged commit 81b4907 into main Dec 27, 2025
8 checks passed
@graycreate graycreate deleted the bugfix/changelog-build-pattern branch December 27, 2025 06:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug in the changelog extraction logic where the regex pattern failed to match placeholder build numbers. The fix changes \d+ (digits only) to \w+ (word characters) to handle both numeric build numbers like "31" and the placeholder "XX" used in CHANGELOG.md entries.

Key Changes

  • Updated regex pattern in extract_changelog method to match alphanumeric build identifiers
  • Updated regex pattern in extract_raw_changelog method for consistency

@github-actions
Copy link

Code Coverage Report ❌

Current coverage: 29.44%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants