mirror of
https://github.com/actions/setup-java.git
synced 2026-09-11 13:14:23 +02:00
Preserve compound Liberica build versions from release metadata
Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
This commit is contained in:
co-authored by
brunoborges
parent
1073668b98
commit
058f41bc0d
Vendored
+2
-1
@@ -128,7 +128,8 @@ class LibericaDistributions extends _base_installer_js__WEBPACK_IMPORTED_MODULE_
|
||||
}
|
||||
}
|
||||
convertVersionToSemver(version) {
|
||||
const { buildVersion, featureVersion, interimVersion, updateVersion } = version;
|
||||
const { featureVersion, interimVersion, updateVersion } = version;
|
||||
const buildVersion = version.version.split('+')[1] || version.buildVersion;
|
||||
const mainVersion = [featureVersion, interimVersion, updateVersion].join('.');
|
||||
if (buildVersion != 0) {
|
||||
return `${mainVersion}+${buildVersion}`;
|
||||
|
||||
Reference in New Issue
Block a user