Skip to content

Commit a3cce98

Browse files
cloud-fanyhuang-db
authored andcommitted
[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 apache#51026 from cloud-fan/release. Authored-by: Wenchen Fan <wenchen@databricks.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent 6947b73 commit a3cce98

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dev/create-release/release-build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,14 @@ if [[ "$1" == "finalize" ]]; then
158158
git push origin HEAD:asf-site
159159
cd ..
160160
rm -rf spark-website
161-
svn rm --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Remove RC artifacts" --no-auth-cache \
162-
"$RELEASE_STAGING_LOCATION/$RELEASE_TAG-docs"
163161
echo "docs uploaded"
164162

163+
# Moves the docs from dev directory to release directory.
164+
echo "Moving Spark docs to the release directory"
165+
svn mv --username "$ASF_USERNAME" --password "$ASF_PASSWORD" -m"Apache Spark $RELEASE_VERSION" \
166+
--no-auth-cache "$RELEASE_STAGING_LOCATION/$RELEASE_TAG-docs/_site" "$RELEASE_LOCATION/docs/$RELEASE_VERSION"
167+
echo "Spark docs moved"
168+
165169
# Moves the binaries from dev directory to release directory.
166170
echo "Moving Spark binaries to the release directory"
167171
svn mv --username "$ASF_USERNAME" --password "$ASF_PASSWORD" -m"Apache Spark $RELEASE_VERSION" \

0 commit comments

Comments
 (0)