diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 0f3b0da1..1bc8d959 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -25,12 +25,12 @@ describe("installer tests", () => { }, 100000); it("Acquires opam source", async () => { - await installer.getOpam("2.0.5", ""); + await installer.getOpam("2.0.7", ""); }, 1000000); it("Acquires opam source and uses custom repository", async () => { await installer.getOpam( - "2.0.5", + "2.0.7", "https://github.com/ocaml/opam-repository.git#master" ); }, 1000000); diff --git a/src/installer.ts b/src/installer.ts index 431daa96..e888fea5 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -53,7 +53,7 @@ async function acquireOpamWindows(version: string, customRepository: string) { } async function acquireOpamLinux(version: string, customRepository: string) { - const opamVersion = "2.0.5"; + const opamVersion = "2.0.7"; const fileName = getOpamFileName(opamVersion); const downloadUrl = getOpamDownloadUrl(opamVersion, fileName); const repository =