Add known branch exceptions to version matching (#242)

This commit is contained in:
Paulo F. Oliveira authored and GitHub committed 2024-01-17 23:37:13 +00:00
1 parent 213ca2eceb
commit b60baf4753
3 files changed
+22 -2

No files matched your search

+12
View File
@@ -182,6 +182,18 @@ async function testOTPVersions() {
expected = 'OTP-20.0.5'
got = await setupBeam.getOTPVersion(spec, osVersion)
assert.deepStrictEqual(got, expected)
spec = 'maint'
osVersion = 'ubuntu-22.04'
expected = 'maint'
got = await setupBeam.getOTPVersion(spec, osVersion, hexMirrors)
assert.deepStrictEqual(got, expected)
spec = 'master'
osVersion = 'ubuntu-22.04'
expected = 'master'
got = await setupBeam.getOTPVersion(spec, osVersion, hexMirrors)
assert.deepStrictEqual(got, expected)
}
if (process.platform === 'win32') {