Skip to content

Commit c7b89e7

Browse files
Merge pull request #12764 from vincenzobaz/fix/publish-old-3-docs
Scala 3.X documentation snapshots
2 parents 6533759 + 400e4df commit c7b89e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/scripts/genDocs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mkdir -pv "$PREVIOUS_SNAPSHOTS_DIR"
1919
git remote add doc-remote "https://github.com/lampepfl/dotty-website.git"
2020
git fetch doc-remote gh-pages
2121
git checkout gh-pages
22-
(cp -vr 0.*/ "$PREVIOUS_SNAPSHOTS_DIR"; true) # Don't fail if no `0.*` found to copy
22+
(cp -vr [03].*/ "$PREVIOUS_SNAPSHOTS_DIR"; true) # Don't fail if no `3.*` found to copy
2323
git checkout "$GIT_HEAD"
2424

2525
### Generate the current snapshot of the website ###

0 commit comments

Comments
 (0)