1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Update jsdoc.yml (#2577)

This commit is contained in:
Michael Telatynski
2022-08-10 09:04:38 +01:00
committed by GitHub
parent 1645867ea6
commit 9ee94c9902

View File

@@ -40,7 +40,7 @@ jobs:
cp -a "$RUNNER_TEMP/$VERSION" .
# Add the new directory to the index if it isn't there already
if ! grep -q "Version $VERSION" index.html; then
if ! grep -q ">Version $VERSION</a>" index.html; then
perl -i -pe 'BEGIN {$rel=shift} $_ =~ /^<\/ul>/ && print
"<li><a href=\"${rel}/index.html\">Version ${rel}</a></li>\n"' "$VERSION" index.html
fi