Skip to content

Commit d0e8ef8

Browse files
committed
Fix script
1 parent 21dacaf commit d0e8ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/poll_release_notes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async function pollReleaseNotes() {
5252
for (let i = 0; i < MAX_ATTEMPTS; i++) {
5353
siteContent = await getData();
5454
const matches = siteContent.match(/<a name="\d+\.\d+.\d+">/g);
55-
if (matches[0] === version) {
55+
if (matches[0] === `<a name="${version}">`) {
5656
return;
5757
}
5858
if (matches.includes(`<a name="${version}">`) && !process.env.FORCE) {

0 commit comments

Comments
 (0)