Skip to content

Commit 1c9d644

Browse files
Update jsdoc.yml (#2577) (#2581)
(cherry picked from commit 9ee94c9) Co-authored-by: Michael Telatynski <[email protected]>
1 parent f576a9f commit 1c9d644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/jsdoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
cp -a "$RUNNER_TEMP/$VERSION" .
4141
4242
# Add the new directory to the index if it isn't there already
43-
if ! grep -q "Version $VERSION" index.html; then
43+
if ! grep -q ">Version $VERSION</a>" index.html; then
4444
perl -i -pe 'BEGIN {$rel=shift} $_ =~ /^<\/ul>/ && print
4545
"<li><a href=\"${rel}/index.html\">Version ${rel}</a></li>\n"' "$VERSION" index.html
4646
fi

0 commit comments

Comments
 (0)