From d3abb0dc25bfabd194000673ee05534e72bd5150 Mon Sep 17 00:00:00 2001 From: "Matt Linville (he/him)" Date: Thu, 18 Jan 2024 13:24:53 -0800 Subject: [PATCH] [DOC-9530] Fix logic on Releases index to show all production releases (#18227) --- src/current/releases/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/current/releases/index.md b/src/current/releases/index.md index d5c4c701b4f..e760bbe3b5d 100644 --- a/src/current/releases/index.md +++ b/src/current/releases/index.md @@ -117,6 +117,7 @@ In CockroachDB v22.2.x and above, a cluster that is upgraded to an alpha binary Withdrawn{% comment %}covers both Intel and ARM columns {% endcomment %} {% elsif r.cloud_only == true %} {% comment %} Suppress download links for Cloud-first releases {% endcomment %} {{ r.cloud_only_message_short }} + {% continue %} {% else %} {% comment %} Add download links for all non-withdrawn versions. {% endcomment %}
Full Binary{% if r.has_sha256sum == true %} (SHA256){% endif %}
{% comment %} If a sha256sum is available for a particular release, we display a link to the file containing the sha256sum alongside the download link of the release. {% endcomment %} @@ -173,6 +174,7 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi Withdrawn{% comment %}covers both Intel and ARM columns {% endcomment %} {% elsif r.cloud_only == true %} {% comment %} Suppress download links for Cloud-first releases {% endcomment %} {{ r.cloud_only_message_short }} + {% continue %} {% else %} {% comment %} Add download links for all non-withdrawn versions. {% endcomment %}
Full Binary{% if r.has_sha256sum == true %} (SHA256){% endif %}
{% comment %} If a sha256sum is available for a particular release, we display a link to the file containing the sha256sum alongside the download link of the release. {% endcomment %} @@ -225,6 +227,7 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi Withdrawn{% comment %}covers both Intel and ARM columns {% endcomment %} {% elsif r.cloud_only == true %} {% comment %} Suppress download links for Cloud-first releases {% endcomment %} {{ r.cloud_only_message_short }} + {% continue %} {% else %} {% comment %} Add download links for all non-withdrawn versions. {% endcomment %} {% if r.windows == true %} @@ -275,6 +278,7 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi Withdrawn {% elsif r.cloud_only == true %} {% comment %} Suppress download links for Cloud-first releases {% endcomment %} {{ r.cloud_only_message_short }} + {% continue %} {% else %} {% if r.source == true %} {% if r.docker.docker_arm == false %}Intel{% else %}Multi-platform{% endif %}:
{{ r.docker.docker_image }}:{{ r.release_name }} @@ -320,6 +324,7 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi {{ r.release_date }} {% comment %} Release date of the release. {% endcomment %} {% if r.withdrawn == true %} {% comment %} Suppress withdrawn releases. {% endcomment %} Withdrawn + {% continue %} {% elsif r.cloud_only == true %} {% comment %} Suppress download links for Cloud-first releases {% endcomment %} {{ r.cloud_only_message_short }} {% else %} {% comment %} Add download links for all non-withdrawn versions. {% endcomment %}