Skip to content

Commit 0fdcaaf

Browse files
committed
Update checkout-local-filament-4.x
1 parent aa28167 commit 0fdcaaf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/bin/checkout-local-filament-4.x

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ DOCS_VERSIONS=(
77
)
88

99
for v in "${DOCS_VERSIONS[@]}"; do
10-
if [ -d "filament/$v" ]; then
11-
echo "Pulling latest documentation updates for $v..."
12-
(cd filament/$v && git pull)
13-
else
10+
if [ ! -d "filament/$v" ]; then
1411
echo "Cloning $v..."
1512
git clone --single-branch --branch "$v" [email protected]:filamentphp/filament.git "filament/$v"
1613
fi;
1714
done
1815

16+
rm -rf filament/4.x
1917
ln -sf ../../../filament filament/4.x

0 commit comments

Comments
 (0)