@@ -50,7 +50,7 @@ if [ "$buildTag" != "snapshot" ]; then
5050 # and carefully replace the others
5151
5252 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
53- # enable once 3 .x is mainstream
53+ # enable once 4 .x is mainstream
5454 # vvvvvvvvvvvvvvvvvvvvvvvvvvvvv
5555
5656 # 1.) main javadoc
@@ -68,31 +68,31 @@ if [ "$buildTag" != "snapshot" ]; then
6868 # yes | cp -rf ./build/docs/javadoc/ .
6969
7070 # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71- # enable once 3 .x is mainstream
71+ # enable once 4 .x is mainstream
7272 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7373
74- # 2.) 3 .x javadoc
74+ # 2.) 4 .x javadoc
7575 # remove the io subdir
76- echo -e " Removing 3 .x/javadoc/io"
77- rm -r 3 .x/javadoc/io
76+ echo -e " Removing 4 .x/javadoc/io"
77+ rm -r 4 .x/javadoc/io
7878
7979 # remove the html files
80- echo -e " Removing 3 .x/javadoc/*.html"
81- rm 3 .x/javadoc/* .html
80+ echo -e " Removing 4 .x/javadoc/*.html"
81+ rm 4 .x/javadoc/* .html
8282
8383 # copy the new doc
84- echo -e " Copying to 3 .x/javadoc/"
85- yes | cp -rf ./build/docs/javadoc/ 3 .x/
84+ echo -e " Copying to 4 .x/javadoc/"
85+ yes | cp -rf ./build/docs/javadoc/ 4 .x/
8686fi
8787
8888# 3.) create a version/snapshot specific copy of the docs
8989# clear the existing tag
90- echo -e " Removing to 3 .x/javadoc/${buildTag} "
91- rm -r 3 .x/javadoc/${buildTag}
90+ echo -e " Removing to 4 .x/javadoc/${buildTag} "
91+ rm -r 4 .x/javadoc/${buildTag}
9292
9393# copy the new doc
94- echo -e " Copying to 3 .x/javadoc/${buildTag} "
95- yes | cp -rf ./build/docs/javadoc/ 3 .x/javadoc/${buildTag} /
94+ echo -e " Copying to 4 .x/javadoc/${buildTag} "
95+ yes | cp -rf ./build/docs/javadoc/ 4 .x/javadoc/${buildTag} /
9696
9797
9898# stage all changed and new files
@@ -119,4 +119,4 @@ git push --quiet --set-upstream origin-pages gh-pages
119119
120120
121121# we are done
122- echo -e " JavaDocs pushback complete."
122+ echo -e " JavaDocs pushback complete."
0 commit comments