Skip to content

Commit 9d3a781

Browse files
committed
fix changelog links for new 0.12 and 0.10 releases
Fixes: nodejs#504 PR-URL: nodejs#505
1 parent aa4b373 commit 9d3a781

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/helpers/changeloglink.js

+5
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,10 @@ module.exports = function (version) {
99
return `https://github.com/nodejs/node/blob/${version}/CHANGELOG.md`
1010
}
1111

12+
// 0.12.8+ and 0.10.41+ releases come from the new repo
13+
if (semver.satisfies(version, '~0.12.8 || ~0.10.41')) {
14+
return `https://github.com/nodejs/node/blob/${version}/ChangeLog`
15+
}
16+
1217
return `https://github.com/nodejs/node-v0.x-archive/blob/${version}/ChangeLog`
1318
}

0 commit comments

Comments
 (0)