Always add 'ga' and 'ea' only if it is in the version number

This commit is contained in:
Gerrit Grunwald 2021-03-12 12:29:59 +01:00
parent 74d577bb95
commit 33ea571461
2 changed files with 2 additions and 5 deletions

4
dist/setup/index.js vendored
View file

@ -33737,9 +33737,7 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro = 'zulu') {
if (version.includes('ea')) {
url += '&release_status=ea';
}
else {
url += '&release_status=ga';
}
url += '&release_status=ga';
url += '&architecture=' + architecture;
url += '&operating_system=' + operatingSystem;
url += '&archive_type=' + archiveType;