This is an automated email from the ASF dual-hosted git repository. shuber pushed a commit to branch unomi-1.3.x in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/unomi-1.3.x by this push: new 49957ec4e Add a condition around the Javadoc API copying to avoid stopping the script. 49957ec4e is described below commit 49957ec4ecbe7ed2aa4a8219e0041cee2ed187c4 Author: Serge Huber <shu...@jahia.com> AuthorDate: Thu Dec 8 20:10:04 2022 +0100 Add a condition around the Javadoc API copying to avoid stopping the script. (cherry picked from commit d3375d09091cc59b7b550c1e244e4825e2ccb70d) --- generate-site.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generate-site.sh b/generate-site.sh index 21cce3236..6dcf2fb10 100755 --- a/generate-site.sh +++ b/generate-site.sh @@ -57,6 +57,8 @@ else fi mkdir -p target/staging/unomi-api mkdir -p target/staging/manual -cp -R target/site/apidocs target/staging/unomi-api +if [ "$LOCAL_BRANCH_NAME" == "master" ]; then + cp -R target/site/apidocs target/staging/unomi-api +fi cp -Rf manual/target/generated-docs/html/* target/staging/manual echo Documentation generation completed!