This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch docs/releases-add-6.8.0-prior in repository https://gitbox.apache.org/repos/asf/struts-site.git
commit 200f792dac2e6adcedbb013aa3a8baa223887be1 Author: Lukasz Lenart <[email protected]> AuthorDate: Wed Apr 29 08:43:19 2026 +0200 docs: add 6.8.0 to Prior Releases and document the dependency Move 6.8.0 into the Prior Releases table on releases.md now that 6.9.0 supersedes it. Document in README.md and CLAUDE.md that releases.md must be updated alongside _config.yml and the yearly announcement file when preparing a new release. --- CLAUDE.md | 2 +- README.md | 8 ++++++++ source/releases.md | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 16811823d..751afacd3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -85,7 +85,7 @@ Kramdown attribute syntax for Bootstrap classes: ### Common Tasks -**New release**: Update version variables in `_config.yml`, add announcement entry to the current year's `announce-YYYY.md`. +**New release**: Update version variables in `_config.yml`, add announcement entry to the current year's `announce-YYYY.md`, and move the now-superseded version into the **Prior Releases** table in `source/releases.md`. **New announcement year**: Create `source/announce-YYYY.md`, update the redirect in `source/.htaccess` (`RedirectMatch \/announce.html` line) to point to the new year. diff --git a/README.md b/README.md index d9425c0d2..a67ffa5a4 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,11 @@ All pages are generated into the `content` folder. There are two scripts used to build the image but this should be used only when `Dockerfile` was modified. Some redirect rules are configured in `source/.htaccess` file. + +## Preparing a new release + +When announcing a new release, update the following files together: + +1. `_config.yml` - bump `current_version` / `prev_version` (and the matching `*_short` and `release_date` variables). +2. `source/announce-YYYY.md` - add the announcement entry for the new release in the current year's file. +3. `source/releases.md` - move the version that has just been superseded into the **Prior Releases** table so the page reflects what is no longer the recommended download. diff --git a/source/releases.md b/source/releases.md index 842374e03..61e65dba5 100644 --- a/source/releases.md +++ b/source/releases.md @@ -41,6 +41,7 @@ As a courtesy, we retain archival copies of the website for releases that initia | Release | Release Date | Vulnerability [...] |-----------------|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [...] +| Struts 6.8.0 | 5 October 2025 | [...] | Struts 7.0.3 | 3 March 2025 | [S2-068]({{ site.wiki_url }}/S2-068) [...] | Struts 7.0.0 | 19 December 2024 | [S2-068]({{ site.wiki_url }}/S2-068) [...] | Struts 6.7.0 | 17 November 2024 | [S2-068]({{ site.wiki_url }}/S2-068) [...]
