-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…vation releases (WIP) (#18739) Fixes DOC-10586, DOC-10587, REL-1220, DOC-10688, DOC-10692, DOC-10697 Co-authored-by: Mike Lewis <[email protected]> Co-authored-by: Rich Loveland <[email protected]> Co-authored-by: mikeCRL <[email protected]>
- Loading branch information
1 parent
6c58123
commit 9f95339
Showing
22 changed files
with
908 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% comment %} | ||
This is included by v24.2+ install-cockroachdb-*.md upgrade-cockroach-version.md | ||
{% endcomment %} | ||
|
||
{% assign DEBUG = false %} | ||
|
||
{% assign rd = site.data.versions | where_exp: "rd", "rd.major_version == page.version.version" | first %} | ||
{% assign latest = site.data.releases | where_exp: "latest", "latest.major_version == page.version.version" | sort: "release_date" | last %} | ||
|
||
{% assign released = false %} | ||
{% assign skippable = false %} | ||
{% if rd.release_date != "N/A" and rd.maint_supp_exp_date != "N/A" %} | ||
{% assign released = true %} | ||
{% if rd.asst_supp_exp_date == "N/A" %} | ||
{% assign skippable = true %} | ||
{% endif %} | ||
{% endif %} | ||
|
||
{% if DEBUG == true %} | ||
version: {{ rd }}<br /><br /> | ||
latest release: {{ latest }}<br /><br /> | ||
page version: {{ page.version }}<br /><br /> | ||
released: {{ released }}<br /> | ||
skippable: {{ skippable }}<br /> | ||
{% endif %} | ||
|
||
CockroachDB {{ latest.major_version }} is the latest supported supported production release.{% if skippable == true %} It is an [Innovation release]({% link releases/release-support-policy.md %}#support-types) that is optional for CockroachDB {{ site.data.products.dedicated }} and CockroachDB {{ site.data.products.core }} but required for CockroachDB {{ site.data.products.serverless }}.{% else %} It is a required [Regular release]({% link releases/release-support-policy.md %}#support-types).{% endif %} To learn more, refer to [CockroachDB {{ latest.major_version }} Release Notes](https://cockroachlabs.com/docs/releases/{{ latest.major_version }}.html). | ||
|
||
{% if page.version.version != blank and page.version.version != latest.major_version %} | ||
**This page refers to CockroachDB {{ page.version.version }}, not {{ latest.major_version }}.** | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.