Fix workflow

This commit is contained in:
Christian Treffs 2024-11-01 10:10:09 +01:00
parent 693acdc032
commit ece8921cfe
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 1 additions and 2 deletions

View File

@ -37,9 +37,8 @@ jobs:
run: >
rm -rf docs/.git;
rm -rf docs/master;
git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.*" | tail -n +6 | xargs -I {} rm -rf {}; // remove all tag folders except the newest 6
git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.*" | tail -n +6 | xargs -I {} rm -rf {};
// iterate the newest 6 tags and master
for tag in $(echo "master"; git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.*" | head -6);
do
if [ -d "docs/$tag/data/documentation/firebladeecs" ]