Skip to content

Commit 93cbaf3

Browse files
aajisakapan3793
andcommitted
[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 4cbefd3 [Cheng Pan] nit 677d520 [Cheng Pan] nit b1f1f67 [Akira Ajisaka] Fix svn delete command example ef8c575 [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]> (cherry picked from commit 5e23c32) Signed-off-by: Cheng Pan <[email protected]>
1 parent ef09f16 commit 93cbaf3

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/contributing/code/release.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ Fork and clone [Apache Kyuubi website](https://github.com/apache/kyuubi-website)
278278
2. Add a new markdown file in `src/zh/release/`, `src/en/release/`
279279
3. Update `releases` defined in `hugo.toml`'s `[params]` part.
280280

281+
You can use `build/release/pre_gen_release_notes.py` to generate the commit log and the contributor list
282+
for the release note. Note that the generated lists are only for draft and you still need to edit them.
283+
281284
### Create an Announcement
282285

283286
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.
294297

295298
```shell
296299
cd work/svn-dev
297-
svn delete https://dist.apache.org/repos/dist/dev/kyuubi/{RELEASE_TAG} \
300+
svn delete https://dist.apache.org/repos/dist/dev/kyuubi/${RELEASE_TAG} \
298301
--username "${ASF_USERNAME}" \
299302
--password "${ASF_PASSWORD}" \
300303
--message "Remove deprecated Apache Kyuubi ${RELEASE_TAG}"
301304
```
302305

306+
## Archive older releases
307+
308+
Remove older releases from [downloads.apache.org](https://downloads.apache.org/). All releases are automatically archived
309+
and they are still accessible from [archive.apache.org](https://archive.apache.org/dist/).
310+
311+
According to [the ASF release policy](https://www.apache.org/legal/release-policy.html#when-to-archive),
312+
downloads.apache.org should contain the latest release in each branch that is currently under development.
313+
314+
```shell
315+
cd work/svn-dev
316+
export OLD_RELEASE=<release path, e.g. kyuubi-1.10.2>
317+
svn delete https://dist.apache.org/repos/dist/release/kyuubi/${OLD_RELEASE} \
318+
--username "${ASF_USERNAME}" \
319+
--password "${ASF_PASSWORD}" \
320+
--message "Archive old ${OLD_RELEASE}"
321+
```
322+
303323
## Keep other artifacts up-to-date
304324

305325
- Docker Image: https://github.com/apache/kyuubi-docker/blob/master/release/release_guide.md

0 commit comments

Comments
 (0)