diff --git a/.changeset/changelog-github-custom.cjs b/.changeset/changelog-github-custom.cjs index 142644ca7..e32050405 100644 --- a/.changeset/changelog-github-custom.cjs +++ b/.changeset/changelog-github-custom.cjs @@ -353,12 +353,9 @@ var changelogFunctions = { .concat(links.pull || links.commit, ')'); } emojiFirstline = firstLine - .replace('FEAT:', '✨ ') - .replace('feat:', '✨ ') - .replace('fix:', '🐞🩹') - .replace('FIX:', '🐞🩹') - .replace('DOCS:', '📃') - .replace('docs:', '📃'); + .replace(/feat:/i, '✨ ') + .replace(/fix:/i, '🐞🩹') + .replace(/docs:/i, '📃'); return [ 2 /*return*/, '\n\n- ' diff --git a/.changeset/changelog-github-custom.ts b/.changeset/changelog-github-custom.ts index c6aceca8c..3c956eae1 100644 --- a/.changeset/changelog-github-custom.ts +++ b/.changeset/changelog-github-custom.ts @@ -119,12 +119,9 @@ const changelogFunctions: ChangelogFunctions = { } const emojiFirstline = firstLine - .replace('FEAT:', '✨ ') - .replace('feat:', '✨ ') - .replace('fix:', '🐞🩹') - .replace('FIX:', '🐞🩹') - .replace('DOCS:', '📃') - .replace('docs:', '📃'); + .replace(/feat:/i, '✨ ') + .replace(/fix:/i, '🐞🩹') + .replace(/docs:/i, '📃'); return `\n\n- ${emojiFirstline} ${suffix}\n${futureLines .map((l) => ` ${l}`)