This commit is contained in:
Miro Spönemann 2020-01-10 13:57:18 +01:00
parent bef9185c6c
commit 21cd580e41
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@
}, },
"linux": { "linux": {
"target": [ "target": [
"tar.xz" "zip"
], ],
"artifactName": "${productName}-${env.ARDUINO_VERSION}-${os}.${ext}" "artifactName": "${productName}-${env.ARDUINO_VERSION}-${os}.${ext}"
}, },

View File

@ -19,7 +19,7 @@ const yargs = require('yargs');
ext = 'zip'; ext = 'zip';
os = 'win'; os = 'win';
} else if (platform === 'linux') { } else if (platform === 'linux') {
ext = 'tar.xz'; ext = 'zip';
os = 'linux'; os = 'linux';
} else { } else {
process.stderr.write(`Unexpected platform: ${platform}.`); process.stderr.write(`Unexpected platform: ${platform}.`);
@ -31,4 +31,4 @@ const yargs = require('yargs');
}) })
.demandCommand(1) .demandCommand(1)
.argv; .argv;
})(); })();