Repository navigation
feat(updater): Add changelog-path input - #183
Conversation
The changelog step now takes both the extracted versions from getsentry#184 and the changelog path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 89b5b6d. Configure here.
| $bulletPoint = $lines | Where-Object { ($_ -match '^ *[-*] ') -and -not ($_ -match '(Bump .* to|\[changelog\]|\[diff\])') } | Select-Object -First 1 | ||
| $bulletPoint = "$("$bulletPoint".Trim())-"[0] | ||
| $entry = @("$bulletPoint Bump $Name from $oldTagNice to $newTagNice ($PullRequestMD)", | ||
| " $bulletPoint [changelog]($RepoUrl/blob/$MainBranch/CHANGELOG.md#$tagAnchor)", |
There was a problem hiding this comment.
Existing entries keep old changelog path
Low Severity
When an unreleased bump entry already exists, the updater only rewrites the version, PR, changelog anchor, and diff range. It never applies changelog-path to the existing changelog URL, so a newly configured nested path is ignored until that entry is replaced. Callers who add changelog-path while a long-lived update PR still has an unreleased entry keep linking to the root CHANGELOG.md.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 89b5b6d. Configure here.


Adds an optional
changelog-pathinput for dependencies whose changelog isn't in the repository root, e.g.packages/cli/CHANGELOG.mdfor the CLI in getsentry/toolkit.When set:
get-changelog.ps1fetches the changelog from that path at both tags instead of trying the root file names.git log <old>..<new> -- packages/cli), so a monorepo update doesn't list every package's commits.update-changelog.ps1links the entry to that path instead of the rootCHANGELOG.md.The default is empty, so existing callers keep the root lookup.
Fixes #182