Skip to content

Commit f720021

Browse files
stephencelismluisbrown
authored andcommitted
Update documentation.yml
(cherry picked from commit 399bc83dcfc7bdcee99f7f6cc0a687ca29e8494b)
1 parent b79b421 commit f720021

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
@@ -58,9 +58,9 @@ jobs:
5858
rm -rf docs-out/.git;
5959
rm -rf docs-out/main;
6060
rm -rf docs-out/protocol-beta;
61-
git tag -l --sort=-v:refname | tail -n +10 | xargs -I {} rm -rf docs-out/{};
61+
git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.0" | tail -n +10 | xargs -I {} rm -rf docs-out/{};
6262
63-
for tag in $(echo "main"; echo "protocol-beta"; git tag -l --sort=-v:refname | head -10);
63+
for tag in $(echo "main"; echo "protocol-beta"; git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.0" | head -10);
6464
do
6565
echo "⏳ Generating documentation for "$tag" release.";
6666

0 commit comments

Comments
 (0)