This is an automated email from the ASF dual-hosted git repository. gurwls223 pushed a commit to branch branch-4.0 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-4.0 by this push: new f20e6a01faa9 [SPARK-52324][INFRA] Move Spark docs to the release directory f20e6a01faa9 is described below commit f20e6a01faa9df9909df359b754d89c29b74650c Author: Wenchen Fan <wenc...@databricks.com> AuthorDate: Tue May 27 16:53:33 2025 +0900 [SPARK-52324][INFRA] Move Spark docs to the release directory ### What changes were proposed in this pull request? The docs of old Spark versions are served from the Apache release directory instead of the spark-website. We need to move Spark docs to the Apache release directory when finalizing the release. This PR updates the release scripts to do so. ### Why are the changes needed? release process ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? No, we will test it when finalizing Spark 3.5.6 ### Was this patch authored or co-authored using generative AI tooling? no Closes #51026 from cloud-fan/release. Authored-by: Wenchen Fan <wenc...@databricks.com> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> (cherry picked from commit dd5dea9614f4cc7473f1a9e08d96496cdc0de8e4) Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- dev/create-release/release-build.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev/create-release/release-build.sh b/dev/create-release/release-build.sh index 6d4e5c18a86b..abd9afe1f65a 100755 --- a/dev/create-release/release-build.sh +++ b/dev/create-release/release-build.sh @@ -158,10 +158,14 @@ if [[ "$1" == "finalize" ]]; then git push origin HEAD:asf-site cd .. rm -rf spark-website - svn rm --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Remove RC artifacts" --no-auth-cache \ - "$RELEASE_STAGING_LOCATION/$RELEASE_TAG-docs" echo "docs uploaded" + # Moves the docs from dev directory to release directory. + echo "Moving Spark docs to the release directory" + svn mv --username "$ASF_USERNAME" --password "$ASF_PASSWORD" -m"Apache Spark $RELEASE_VERSION" \ + --no-auth-cache "$RELEASE_STAGING_LOCATION/$RELEASE_TAG-docs/_site" "$RELEASE_LOCATION/docs/$RELEASE_VERSION" + echo "Spark docs moved" + # Moves the binaries from dev directory to release directory. echo "Moving Spark binaries to the release directory" svn mv --username "$ASF_USERNAME" --password "$ASF_PASSWORD" -m"Apache Spark $RELEASE_VERSION" \ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org