Compare commits

..

2 Commits

Author SHA1 Message Date
Arnaud Levy
3232f95c9c
Merge 32321cc1a2 into 3a287949d3 2025-04-13 10:10:22 +00:00
Arnaud Levy
32321cc1a2
Update get-url.ts 2025-04-13 12:10:19 +02: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';