You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2025/05/27 07:54:03 UTC
(spark) branch branch-3.5 updated: [SPARK-52324][INFRA] Move Spark docs to the release directory
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.5 by this push:
new ee07bcec349a [SPARK-52324][INFRA] Move Spark docs to the release directory
ee07bcec349a is described below
commit ee07bcec349a475417d0719d0a0db25840d30973
Author: Wenchen Fan <we...@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 <we...@databricks.com>
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
(cherry picked from commit dd5dea9614f4cc7473f1a9e08d96496cdc0de8e4)
Signed-off-by: Hyukjin Kwon <gu...@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 307a3468dd6b..ca8739ba6aa7 100755
--- a/dev/create-release/release-build.sh
+++ b/dev/create-release/release-build.sh
@@ -143,10 +143,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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org