This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 5e23c32dc0 [KYUUBI #7292] Add instruction to archive older releases
5e23c32dc0 is described below
commit 5e23c32dc04cea50d59c8f85e8c723c8280d95fc
Author: Akira Ajisaka <[email protected]>
AuthorDate: Mon Jan 5 14:13:32 2026 +0800
[KYUUBI #7292] Add instruction to archive older releases
### Why are the changes needed?
Archive older releases
https://www.apache.org/legal/release-policy.html#when-to-archive
Closes #7292
### How was this patch tested?
Not tested
### Was this patch authored or co-authored using generative AI tooling?
No
Closes #7297 from aajisaka/archive-old-releases.
Closes #7292
4cbefd381 [Cheng Pan] nit
677d52024 [Cheng Pan] nit
b1f1f6797 [Akira Ajisaka] Fix svn delete command example
ef8c5754b [Akira Ajisaka] [KYUUBI #7292] Add instruction to archive older
releases
Lead-authored-by: Akira Ajisaka <[email protected]>
Co-authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
---
docs/contributing/code/release.md | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/docs/contributing/code/release.md
b/docs/contributing/code/release.md
index 82a9772b82..5c360973e9 100644
--- a/docs/contributing/code/release.md
+++ b/docs/contributing/code/release.md
@@ -278,6 +278,9 @@ Fork and clone [Apache Kyuubi
website](https://github.com/apache/kyuubi-website)
2. Add a new markdown file in `src/zh/release/`, `src/en/release/`
3. Update `releases` defined in `hugo.toml`'s `[params]` part.
+You can use `build/release/pre_gen_release_notes.py` to generate the commit
log and the contributor list
+for the release note. Note that the generated lists are only for draft and you
still need to edit them.
+
### Create an Announcement
Once everything is working, create an announcement on the website and then
send an e-mail to the mailing list.
@@ -294,12 +297,29 @@ Remove the deprecated dist repo directories at last.
```shell
cd work/svn-dev
-svn delete https://dist.apache.org/repos/dist/dev/kyuubi/{RELEASE_TAG} \
+svn delete https://dist.apache.org/repos/dist/dev/kyuubi/${RELEASE_TAG} \
--username "${ASF_USERNAME}" \
--password "${ASF_PASSWORD}" \
--message "Remove deprecated Apache Kyuubi ${RELEASE_TAG}"
```
+## Archive older releases
+
+Remove older releases from
[downloads.apache.org](https://downloads.apache.org/). All releases are
automatically archived
+and they are still accessible from
[archive.apache.org](https://archive.apache.org/dist/).
+
+According to [the ASF release
policy](https://www.apache.org/legal/release-policy.html#when-to-archive),
+downloads.apache.org should contain the latest release in each branch that is
currently under development.
+
+```shell
+cd work/svn-dev
+export OLD_RELEASE=<release path, e.g. kyuubi-1.10.2>
+svn delete https://dist.apache.org/repos/dist/release/kyuubi/${OLD_RELEASE} \
+ --username "${ASF_USERNAME}" \
+ --password "${ASF_PASSWORD}" \
+ --message "Archive old ${OLD_RELEASE}"
+```
+
## Keep other artifacts up-to-date
- Docker Image:
https://github.com/apache/kyuubi-docker/blob/master/release/release_guide.md