Include ea builds only if 'ea' was part of the given version

This commit is contained in:
Gerrit Grunwald 2021-03-12 10:45:24 +01:00
parent 9a807817f3
commit ef705735f7

View file

@ -266,7 +266,9 @@ async function getDownloadInfo(
} else { } else {
url += '&package_type=' + packageType; url += '&package_type=' + packageType;
} }
url += '&release_status=ea'; if (version.includes('ea') {
url += '&release_status=ea';
}
url += '&release_status=ga'; url += '&release_status=ga';
url += '&architecture=' + architecture; url += '&architecture=' + architecture;
url += '&operating_system=' + operatingSystem; url += '&operating_system=' + operatingSystem;