Skip to content

Commit 52b2586

Browse files
committed
fix: update for recent changelog format change (#576)
The Node.js `CHANGELOG.md` has replaced use of `<sup>` tags. Refs: nodejs/node#40475
1 parent 8550c8d commit 52b2586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/prepare_release.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class ReleasePreparation {
345345
const eolDate = getEOLDate(date);
346346
const eol = eolDate.toISOString().split('-').slice(0, 2).join('-');
347347
arr[idx] = arr[idx].replace('"Current"', `"LTS Until ${eol}"`);
348-
arr[idx] = arr[idx].replace('<sup>Current</sup>', '<sup>LTS</sup>');
348+
arr[idx] = arr[idx].replace('(Current)', '(LTS)');
349349
} else if (arr[idx].includes('**Long Term Support**')) {
350350
arr[idx] = arr[idx].replace(
351351
'**Long Term Support**',

0 commit comments

Comments
 (0)