-
-
Notifications
You must be signed in to change notification settings - Fork 803
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #156. Instead of setting `lts: true`, you can now set `lts: YYYY-MM-DD` and the release will be marked as lts: true beyond that date. In case the date is in the future, the release will be marked as an upcoming LTS. Updated dates for 4 products to comply with these changes: - Debian - Looker - Nodejs - RHEL
- Loading branch information
Showing
6 changed files
with
63 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% if include.lts == true %} | ||
({{include.label}}) | ||
{% elsif include.lts %} | ||
{% assign diff = include.lts | date: '%s' | plus:0 | minus:now %} | ||
{% comment %}Diff is number of seconds from today when LTS starts. This is <=0 if the LTS has started{% endcomment %} | ||
{% if diff <= 0 %} | ||
({{include.label}}) | ||
{% else %} | ||
(<span title="{{include.lts|date_to_string}}">Upcoming</span> {{include.label}}) | ||
{% endif %} | ||
{% 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
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
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