v7.10.1, v6.11.1 and v4.8.4 as lowPriority

This commit is contained in:
Igor Klopov 2017-07-24 19:34:15 +03:00
parent 40068cf4e4
commit bb15ed6e88
2 changed files with 19 additions and 0 deletions

View File

@ -39,6 +39,7 @@ async function applyPatches (nodeVersion) {
log.info('Applying patches');
let patches = patchesJson[nodeVersion];
patches = patches.patches || patches;
if (patches.sameAs) patches = patchesJson[patches.sameAs];
for (const patch of patches) {
const patchPath = path.join(patchesPath, patch);
const args = [ '-p1', '-i', patchPath ];

View File

@ -8,12 +8,30 @@
"v8.0.0": [
"node.v8.0.0.patch"
],
"v7.10.1": {
"lowPriority": true,
"patches": {
"sameAs": "v7.10.0"
}
},
"v7.10.0": [
"node.v7.10.0.patch"
],
"v6.11.1": {
"lowPriority": true,
"patches": {
"sameAs": "v6.10.3"
}
},
"v6.10.3": [
"node.v6.10.3.patch"
],
"v4.8.4": {
"lowPriority": true,
"patches": {
"sameAs": "v4.8.3"
}
},
"v4.8.3": [
"backport.R32768.patch",
"backport.PR4777.for.N4.patch",