You've already forked matrix-js-sdk
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:
committed by
GitHub
parent
1645867ea6
commit
9ee94c9902
2
.github/workflows/jsdoc.yml
vendored
2
.github/workflows/jsdoc.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user