From e912a690a52d3b59e1e91e686be58978c8fce3cb Mon Sep 17 00:00:00 2001 From: tison Date: Sun, 7 Jan 2024 10:28:58 +0800 Subject: [PATCH] docs(release): how to clean up old releases (#3934) * docs(release): how to clean up old releases Signed-off-by: tison * polish Signed-off-by: tison --------- Signed-off-by: tison --- website/community/committers/release.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/website/community/committers/release.md b/website/community/committers/release.md index 6b457beacbc9..cfa26e0854ef 100644 --- a/website/community/committers/release.md +++ b/website/community/committers/release.md @@ -596,3 +596,20 @@ fully endorsed by the ASF. ``` Example: + +## Post release + +After the official release out, you may perform a few post actions. + +### Remove the old releases + +Remove the old releases if any. You only need the latest release there, and older releases are available through the Apache archive. + +To clean up old releases, run: + +```shell +# 1. Get the list of releases +svn ls https://dist.apache.org/repos/dist/release/incubator/opendal +# 2. Delete each release (except for the last one) +svn del -m "Archiving OpenDAL release X.Y.Z" https://dist.apache.org/repos/dist/release/incubator/opendal/X.Y.Z +```