We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f0dc38 commit b161ac6Copy full SHA for b161ac6
bin/jvmdocs.sh
@@ -24,12 +24,15 @@ function copy_docs() {
24
local VERSION=$2
25
local DEST=$3
26
27
- local PATH="${DEST}/apidocs/${PROJECT}/${VERSION}"
28
- echo "Making ${PATH} if necessary..."
29
- mkdir -p $PATH
+ local TARGET="${DEST}/apidocs/${PROJECT}/${VERSION}"
+ echo "Deleting ${TARGET} if it exists..."
+ rm -rf ${TARGET}
30
31
- echo "Copying docs to ${PATH}..."
32
- cp -r target/site/*docs/* $PATH/
+ echo "Making ${TARGET} if necessary..."
+ mkdir -p $TARGET
33
+
34
+ echo "Copying docs to ${TARGET}..."
35
+ cp -r target/site/*docs/* $TARGET/
36
}
37
38
build_docs $1 $2
0 commit comments