diff --git a/dist/index.js b/dist/index.js index 251c5a87..51677d39 100644 --- a/dist/index.js +++ b/dist/index.js @@ -138002,7 +138002,7 @@ async function updateUnixPackageIndexFiles() { async function retrieveLatestOpamRelease() { - const semverRange = ALLOW_PRERELEASE_OPAM ? "*" : "<2.3.0"; + const semverRange = ALLOW_PRERELEASE_OPAM ? "*" : "<2.4.0"; const octokit = lib_github.getOctokit(constants_GITHUB_TOKEN); const { data: releases } = await octokit.rest.repos.listReleases({ owner: "ocaml", diff --git a/packages/setup-ocaml/src/opam.ts b/packages/setup-ocaml/src/opam.ts index 1fef21a1..1a215271 100644 --- a/packages/setup-ocaml/src/opam.ts +++ b/packages/setup-ocaml/src/opam.ts @@ -19,7 +19,7 @@ import { } from "./unix.js"; export async function retrieveLatestOpamRelease() { - const semverRange = ALLOW_PRERELEASE_OPAM ? "*" : "<2.3.0"; + const semverRange = ALLOW_PRERELEASE_OPAM ? "*" : "<2.4.0"; const octokit = github.getOctokit(GITHUB_TOKEN); const { data: releases } = await octokit.rest.repos.listReleases({ owner: "ocaml",