From 8dfae4555fff6fe29b7e59bbdee9f25fa5d08f80 Mon Sep 17 00:00:00 2001
From: Sten Arthur Laane <21343173+StenAL@users.noreply.github.com>
Date: Sat, 1 Jun 2024 14:26:30 +0300
Subject: [PATCH] Mark Netty 3.10 and 4.0 as EOL on the downloads page (#17)
---
_config/site.yml | 8 ++++++--
downloads.html.haml | 9 +++++----
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/_config/site.yml b/_config/site.yml
index 59031fad88..8d63ca427e 100644
--- a/_config/site.yml
+++ b/_config/site.yml
@@ -7,15 +7,19 @@ releases:
- version: 5.0.0.Alpha5
date: 28-Sep-2022
stable: false
+ eol: false
- version: 4.1.110.Final
date: 22-May-2024
stable: stable
+ eol: false
- version: 4.0.56.Final
date: 05-Feb-2018
- stable: true
+ stable: false
+ eol: true
- version: 3.10.6.Final
date: 29-Jun-2016
- stable: true
+ stable: false
+ eol: true
twitter_search_url: 'https://twitter.com/search?q=%40netty_project OR %23netty lang%3Aen'
diff --git a/downloads.html.haml b/downloads.html.haml
index a024eeb8fb..3dec669e76 100644
--- a/downloads.html.haml
+++ b/downloads.html.haml
@@ -19,11 +19,12 @@ title: Downloads
‐ #{r.date}
- if r.recommended?
(Stable, Recommended)
+ - elsif r.stable
+ (Stable)
+ - elsif r.eol
+ (EOL)
- else
- - if r.stable
- (Stable)
- - else
- (Development)
+ (Development)
%p Changelogs and road map are available in our issue tracker.