diff --git a/scripts/helpers/changeloglink.js b/scripts/helpers/changeloglink.js index d045fb272452c..3b1c5d2ff1d69 100644 --- a/scripts/helpers/changeloglink.js +++ b/scripts/helpers/changeloglink.js @@ -9,5 +9,10 @@ module.exports = function (version) { return `https://github.com/nodejs/node/blob/${version}/CHANGELOG.md` } + // 0.12.8+ and 0.10.41+ releases come from the new repo + if (semver.satisfies(version, '~0.12.8 || ~0.10.41')) { + return `https://github.com/nodejs/node/blob/${version}/ChangeLog` + } + return `https://github.com/nodejs/node-v0.x-archive/blob/${version}/ChangeLog` }