Skip to content

Commit

Permalink
Fix build-docs.sh error
Browse files Browse the repository at this point in the history
Updates build-docs.sh path usage to execute in project root.
  • Loading branch information
Corneil du Plessis authored Nov 13, 2024
1 parent f09223a commit 4377909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [ -z "$BASH_VERSION" ]; then
exit 1
fi
SCDIR=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
SCDIR=$(realpath $SCDIR)
pushd "$SCDIR" > /dev/null || exit
./mvnw install -DskipTests -am -pl :spring-cloud-dataflow-classic-docs,:spring-cloud-dataflow-docs,:spring-cloud-skipper-server-core,:spring-cloud-skipper-docs -Pfull,docs
SCDIR=$(realpath "$SCDIR/../..")
pushd "$SCDIR" || exit
./mvnw install -DskipTests -Pdocs -B --no-transfer-progress -pl :spring-cloud-skipper-server-core,:spring-cloud-skipper,:spring-cloud-skipper-docs,:spring-cloud-dataflow-classic-docs,:spring-cloud-dataflow-docs -T 1C
popd > /dev/null || exit

0 comments on commit 4377909

Please sign in to comment.