File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,7 @@ async function composeOpamCacheKeys() {
65
65
PLATFORM === "win32"
66
66
? PLATFORM
67
67
: `${ PLATFORM } -${ ( await getSystemIdentificationInfo ( ) ) . version } ` ;
68
- const opamVersion =
69
- PLATFORM === "win32" ? "0.0.0.2" : ( await getLatestOpamRelease ( ) ) . version ;
68
+ const opamVersion = ( await getLatestOpamRelease ( ) ) . version ;
70
69
const ocamlCompiler = await resolveCompiler ( OCAML_COMPILER ) ;
71
70
const ocamlVersion = ocamlCompiler . toLowerCase ( ) . replaceAll ( / \W / g, "_" ) ;
72
71
const sandboxed = OPAM_DISABLE_SANDBOXING ? "nosandbox" : "sandbox" ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import {
27
27
import { getCygwinVersion } from "./win32.js" ;
28
28
29
29
export async function getLatestOpamRelease ( ) {
30
- const semverRange = ALLOW_PRERELEASE_OPAM ? "*" : "<2.2 .0" ;
30
+ const semverRange = ALLOW_PRERELEASE_OPAM ? "*" : "<2.3 .0" ;
31
31
const octokit = github . getOctokit ( GITHUB_TOKEN ) ;
32
32
const opam_platform = PLATFORM === "win32" ? "windows" : PLATFORM ;
33
33
const { data : releases } = await octokit . rest . repos . listReleases ( {
You can’t perform that action at this time.
0 commit comments