Fix semver not resolving correctly

This commit is contained in:
Gregory Mitchell 2024-11-05 10:37:49 -06:00
parent a137832311
commit 34a32f818e
No known key found for this signature in database
GPG key ID: 771A6C995A086B84
2 changed files with 5 additions and 6 deletions

4
dist/setup/index.js vendored
View file

@ -124639,7 +124639,7 @@ class JetBrainsDistribution extends base_installer_1.JavaBase {
const url = `https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-${semver}-${platform}-${arch}-b${build}.tar.gz`;
return {
tag_name: tag,
semver: semver,
semver: semver.replace(/_/g, '.'),
build: build,
url: url
};
@ -124648,7 +124648,7 @@ class JetBrainsDistribution extends base_installer_1.JavaBase {
core.startGroup('Print information about available versions');
console.timeEnd('Retrieving available versions for JBR took'); // eslint-disable-line no-console
core.debug(`Available versions: [${versions.length}]`);
core.debug(versions.map(item => item.tag_name).join(', '));
core.debug(versions.map(item => item.semver).join(', '));
core.endGroup();
}
return versions;