Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add changelog link to NodeJS #43

Merged
merged 5 commits into from Jun 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Expand Up @@ -17,6 +17,7 @@ layout: post
category: os
# The hash of the `releases` object to be used for sortin in descending order
sortReleasesBy: "releaseCycle"
changelogTemplate: "https://link/of/the/__RELEASE_CYCLE__/and/__LATEST__/version"
# A list of releases, supported or not
# Newer releases go on top of the list, in order
releases:
Expand Down
6 changes: 5 additions & 1 deletion _layouts/post.html
Expand Up @@ -101,7 +101,11 @@

{%if page.releaseColumn != false %}
<td>
{% if diff > 0 or r.eol == false %}{{r.latest}}{%else%}NA{%endif%}
{% if diff > 0 or r.eol == false %}
<a href="{{page.changelogTemplate | replace: '__RELEASE_CYCLE__',r.releaseCycle | replace: '__LATEST__',r.latest | default: '#'}}">
{{r.latest}}
</a>
{%else%}NA{%endif%}
</td>
{%endif%}
</tr>
Expand Down
16 changes: 11 additions & 5 deletions tools/nodejs.md
Expand Up @@ -4,6 +4,7 @@ layout: post
title: Node.js
url: https://nodejs.org/en/about/releases/
image: https://raw.githubusercontent.com/nodejs/Release/master/schedule.svg?sanitize=true
changelogTemplate: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V__RELEASE_CYCLE__.md#__LATEST__
activeSupportColumn: true
command: node --version
releaseDateColumn: true
Expand All @@ -14,22 +15,27 @@ releases:
lts: true
support: 2019-01-01
eol: 2019-12-31
latest: v8.16.0
latest: 8.16.0
- releaseCycle: 10
release: 2018-04-24
lts: true
support: 2020-04-01
eol: 2021-04-01
latest: v10.15.3
latest: 10.15.3
- releaseCycle: 12
release: 2019-10-22
lts: true
lts: false
support: 2021-04-01
eol: 2021-04-01
latest: v12.3.1
latest: 12.3.1
- releaseCycle: 13
release: 2019-10-22
lts: false
support: 2022-04-20
eol: 2020-06-01
- releaseCycle: 14
release: 2020-10-20
lts: true
lts: false
support: 2022-04-01
eol: 2023-04-01
---
Expand Down