Skip to content

Commit 8a273cc

Browse files
committed
Exclude 4.0.0-win32-ia32 from prebuilts
1 parent a4606e8 commit 8a273cc

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

appveyor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ environment:
55
secure: jJxKoyWputzRz2EjAT9i/vBzYt2+lcjKZ5D6O5TBaS9+anpYHn2XWbOut5dkOgh0
66
node_pre_gyp_region: eu-central-1
77
matrix:
8+
- NODE_VERSION: 6
9+
platform: x64
10+
- NODE_VERSION: 6
11+
platform: x86
812
- NODE_VERSION: 5
913
platform: x64
1014
- NODE_VERSION: 5
1115
platform: x86
1216
- NODE_VERSION: 4
1317
platform: x64
14-
- NODE_VERSION: 4
15-
platform: x86
1618
- NODE_VERSION: 0.12
1719
platform: x64
1820
- NODE_VERSION: 0.12

tools/prepublish-to-npm.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ rimraf.sync('./build');
77
var versions = ['0.10.0', '0.12.0', '4.0.0', '5.0.0'];
88
var matrix = {
99
x64: ['win32', 'linux', 'darwin'],
10-
ia32: ['win32']
10+
ia32: ['win32'],
11+
except: { '4.0.0-win32-ia32': true }
1112
};
1213

1314
var targets = [];
1415
Object.keys(matrix).forEach(function(arch) {
1516
matrix[arch].forEach(function(platform) {
1617
versions.forEach(function(version) {
18+
var key = version + '-' + platform + '-' + arch;
19+
if (matrix.except[key]) return;
20+
1721
targets.push({
1822
target: version,
1923
target_platform: platform,

0 commit comments

Comments
 (0)