Compare commits

..

1 Commits

Author SHA1 Message Date
Arnaud Levy
7b3d2fe72b
Merge 6191baf0cc into 3a287949d3 2024-11-15 12:27:45 +01:00

View File

@ -9,14 +9,14 @@ export default function getURL(
version: string version: string
} }
): string { ): string {
let extendedStr = '';
if (options.extended === 'true') {
extendedStr = 'extended_';
}
let withdeployStr = ''; let withdeployStr = '';
if (options.withdeploy === 'true') { if (options.withdeploy === 'true') {
withdeployStr = 'withdeploy_'; withdeployStr = 'withdeploy_';
} }
let extendedStr = '';
if (options.extended === 'true' || withdeployStr) {
extendedStr = 'extended_';
}
let ext = 'tar.gz'; let ext = 'tar.gz';
if (system.os === 'Windows') { if (system.os === 'Windows') {
ext = 'zip'; ext = 'zip';