Skip to content

Commit 0f7ff98

Browse files
authored
Update documentation.yml
1 parent 7b508c2 commit 0f7ff98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ jobs:
6464
rm -rf docs-out/.git;
6565
rm -rf docs-out/main;
6666
rm -rf docs-out/protocol-beta;
67-
git tag -l --sort=-v:refname | tail -n +10 | xargs rm -rf;
67+
git tag -l --sort=-v:refname | tail -n +10 | xargs -I {} rm -rf docs-out/{};
6868
69-
for tag in $(echo "main"; echo "protocol-beta"; git tag);
69+
for tag in $(echo "main"; echo "protocol-beta"; git tag -l --sort=-v:refname | head -10);
7070
do
7171
echo "⏳ Generating documentation for "$tag" release.";
7272

0 commit comments

Comments
 (0)