Add support for Ubuntu 24 (#271)

This commit is contained in:
Eric Saxby
2024-05-21 11:20:56 -07:00
committed by GitHub
parent 90f5b2c068
commit 618f13887e
5 changed files with 25 additions and 0 deletions
+14
View File
@@ -130,6 +130,20 @@ async function testOTPVersions() {
if (process.platform === 'linux') {
before = simulateInput('version-type', 'strict')
spec = '26'
osVersion = 'ubuntu-24.04'
expected = 'maint-26'
got = await setupBeam.getOTPVersion(spec, osVersion, hexMirrors)
assert.deepStrictEqual(got, expected)
simulateInput('version-type', before)
spec = '27.0'
osVersion = 'ubuntu-24.04'
expected = 'OTP-27.0'
got = await setupBeam.getOTPVersion(spec, osVersion, hexMirrors)
assert.deepStrictEqual(got, expected)
simulateInput('version-type', before)
spec = '25.3.2.1'
osVersion = 'ubuntu-20.04'
expected = 'OTP-25.3.2.1'