diff --git a/src/get-url.ts b/src/get-url.ts index b150f49..6ee9e07 100644 --- a/src/get-url.ts +++ b/src/get-url.ts @@ -9,14 +9,14 @@ export default function getURL( version: string } ): string { - let extendedStr = ''; - if (options.extended === 'true') { - extendedStr = 'extended_'; - } let withdeployStr = ''; if (options.withdeploy === 'true') { withdeployStr = 'withdeploy_'; } + let extendedStr = ''; + if (options.extended === 'true' || withdeployStr) { + extendedStr = 'extended_'; + } let ext = 'tar.gz'; if (system.os === 'Windows') { ext = 'zip';