diff --git a/dist/setup/index.js b/dist/setup/index.js index 62ab199..27fa97b 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -124624,7 +124624,7 @@ class JetBrainsDistribution extends base_installer_1.JavaBase { vstring = tag.substring(tag.lastIndexOf('-') + 1); break; case 1: - vstring = tag.substring(2).replace(/-/g, '').replace(/_/g, '.'); + vstring = tag.substring(2).replace(/-/g, ''); break; case undefined: // 0 vstring = tag.substring(3); diff --git a/src/distributions/jetbrains/installer.ts b/src/distributions/jetbrains/installer.ts index b0f5622..66e0e1c 100644 --- a/src/distributions/jetbrains/installer.ts +++ b/src/distributions/jetbrains/installer.ts @@ -138,7 +138,7 @@ export class JetBrainsDistribution extends JavaBase { vstring = tag.substring(tag.lastIndexOf('-') + 1); break; case 1: - vstring = tag.substring(2).replace(/-/g, '').replace(/_/g, '.'); + vstring = tag.substring(2).replace(/-/g, ''); break; case undefined: // 0 vstring = tag.substring(3);