fix(release): ignore HTML entities in note references

This commit is contained in:
Vincent Koc 2026-07-01 18:07:07 -07:00
parent 40e02a418c
commit 38442853e1
No known key found for this signature in database

View file

@ -209,7 +209,7 @@ function sectionFor(changelog, version) {
function referencesIn(text) {
const references = [];
for (const match of text.matchAll(
/(?<![A-Za-z0-9_.-])(?:(?<owner>[A-Za-z0-9_.-]+)\/(?<name>[A-Za-z0-9_.-]+))?#(?<number>\d+)/g,
/(?<![A-Za-z0-9_.&-])(?:(?<owner>[A-Za-z0-9_.-]+)\/(?<name>[A-Za-z0-9_.-]+))?#(?<number>\d+)/g,
)) {
const qualifiedRepository = match.groups?.owner
? `${match.groups.owner}/${match.groups.name}`.toLowerCase()