Skip to content

Commit 65f9b6c

Browse files
authored
Update push_javadoc.sh
make the 4.x/javadoc directory if doesn't exist
1 parent 23da34e commit 65f9b6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

push_javadoc.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ fi
9090
echo -e "Removing to 4.x/javadoc/${buildTag}"
9191
rm -r 4.x/javadoc/${buildTag}
9292

93+
# create the directory if it doesn't exist
94+
mkdir -p 4.x/javadoc
95+
9396
# copy the new doc
9497
echo -e "Copying to 4.x/javadoc/${buildTag}"
9598
yes | cp -rf ./build/docs/javadoc/ 4.x/javadoc/${buildTag}/

0 commit comments

Comments
 (0)