Skip to content

Commit 5cdae1f

Browse files
committed
fix downlad java version information
1 parent 819cabc commit 5cdae1f

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

download/index.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,22 @@ <h4>Archived</h4>
258258
{%- endif -%}
259259
<h3>GeoServer {{ item[0] }} releases</h3>
260260
<p>GeoServer {{ item[0] }} archives
261-
{%- assign minor = item[0] | split: '.' | first | plus: 0 -%}
261+
{%- assign major = item[0] | split: '.' | first | plus: 0 -%}
262262
{%- assign minor = item[0] | split: '.' | last | plus: 0 -%}
263+
264+
<!-- major: {{ major }} minor: {{ minor }} -->
265+
263266
{%- if major == 3 -%}
264-
, Java 17 and Java 21 compatible:
265-
{%- elsif major == 2 and minor > 14 -%}
266-
, Java 11 and Java 17 compatible:
267-
{%- elsif minor < 23 and minor > 14 -%}
267+
, Java 17 and Java 21:
268+
{%- elsif minor > 27 -%}
269+
, Java 17, and Java 21:
270+
{%- elsif minor > 25 -%}
271+
, Java 11, Java 17, and Java 21:
272+
{%- elsif minor > 22 -%}
273+
, Java 11 and Java 17:
274+
{%- elsif minor > 14 -%}
268275
, Java 8 and Java 11 compatible:
269-
{%- elsif minor > 7 -%}
276+
{%- elsif minor > 7 -%}
270277
, compatible with Java 8:
271278
{%- elsif minor > 5 -%}
272279
, compatible with Java 7:

0 commit comments

Comments
 (0)