This commit is contained in:
Dilum Aluthge
2026-03-05 15:01:52 -05:00
committed by GitHub
parent 2c2e035e86
commit 3241879f97

View File

@@ -186,7 +186,7 @@ export function getJuliaVersion(availableReleases: string[], versionInput: strin
// min_with_latest_patch is the minimum major/minor, but latest patch
// E.g. if the Julia [compat] entry is "1.10", then true__version is v"1.10.10" (or whatever the latest 1.10.x patch is)
// https://github.com/julia-actions/setup-julia/issues/372
min_with_latest_patch = semver.maxSatisfying(availableReleases, my_tilde_range, {includePrerelease})
let min_with_latest_patch = semver.maxSatisfying(availableReleases, my_tilde_range, {includePrerelease})
version = min_with_latest_patch
} else if (versionInput == "lts") {
version = semver.maxSatisfying(availableReleases, LTS_VERSION, { includePrerelease: false });