From bb7ae700d7ee6a8e1884e9529dd63bd328d84084 Mon Sep 17 00:00:00 2001 From: Kent Yao Date: Fri, 26 Jul 2024 08:41:15 -0700 Subject: [PATCH] Parameterize SVN remover to make it more friendly and safer Make it more friendly and safer for release managers polling multiple RC votes Author: Kent Yao Closes #539 from yaooqinn/svn. --- release-process.md | 5 +++-- site/release-process.html | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/release-process.md b/release-process.md index 46724c2ae5..53b7bab7d1 100644 --- a/release-process.md +++ b/release-process.md @@ -283,8 +283,9 @@ After the vote passes and you moved the approved RC to the release repository, y the RC directories from the staging repository. For example: ``` -svn rm https://dist.apache.org/repos/dist/dev/spark/v2.3.1-rc1-bin/ \ - https://dist.apache.org/repos/dist/dev/spark/v2.3.1-rc1-docs/ \ +RC=v3.5.2-rc3 && \ + svn rm https://dist.apache.org/repos/dist/dev/spark/"${RC}"-bin/ \ + https://dist.apache.org/repos/dist/dev/spark/"${RC}"-docs/ \ -m"Removing RC artifacts." ``` diff --git a/site/release-process.html b/site/release-process.html index bb1b02c741..dff4233b8f 100644 --- a/site/release-process.html +++ b/site/release-process.html @@ -428,8 +428,9 @@

Remove RC artifacts from reposito

After the vote passes and you moved the approved RC to the release repository, you should delete the RC directories from the staging repository. For example:

-
svn rm https://dist.apache.org/repos/dist/dev/spark/v2.3.1-rc1-bin/ \
-  https://dist.apache.org/repos/dist/dev/spark/v2.3.1-rc1-docs/ \
+
RC=v3.5.2-rc3 && \
+  svn rm https://dist.apache.org/repos/dist/dev/spark/"${RC}"-bin/ \
+  https://dist.apache.org/repos/dist/dev/spark/"${RC}"-docs/ \
   -m"Removing RC artifacts."