sijie closed pull request #1215: Update release guide to remove old releases 
after a new release is completed
URL: https://github.com/apache/bookkeeper/pull/1215
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/site/community/release_guide.md b/site/community/release_guide.md
index d7b01d2fe..cd8fff155 100644
--- a/site/community/release_guide.md
+++ b/site/community/release_guide.md
@@ -472,6 +472,23 @@ Copy the source release from the `dev` repository to the 
`release` repository at
 
     svn move 
https://dist.apache.org/repos/dist/dev/bookkeeper/bookkeeper-${VERSION}-rc${RC_NUM}
 https://dist.apache.org/repos/dist/release/bookkeeper/bookkeeper-${VERSION}
 
+According to [ASF 
policy](http://www.apache.org/legal/release-policy.html#when-to-archive), 
`/www.apache.org/dist` should contain the latest release in each branch that
+is currently under development. We need to remove the old releases from 
`release` repository.
+
+For example, if 4.6.1 is a newer release, we need to remove releases older 
than 4.6.1.
+
+
+    ```shell
+    // go to the directory checkout from `svn co 
https://dist.apache.org/repos/dist/release/bookkeeper`
+    $ cd bookkeeper
+
+    // delete old releases
+    $ svn rm <old-release>
+
+    // commit the change
+    $ svn commit -m "remove bookkeeper release <old-release>"
+    ```
+
 ### Update Website
 
 1. Create the documentation for `${VERSION}`. Run the `release.sh` to generate 
the branch for `${VERSION}` and bump


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to