From d35219f2232ab4b6894c7a629d63759d587b14b7 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Sat, 4 Jul 2026 08:58:04 +0200 Subject: [PATCH 1/2] opatch: exit with non-zero exit code if a patch does not apply --- bin/opatch.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/opatch.ml b/bin/opatch.ml index 83bc749..b6d584d 100644 --- a/bin/opatch.ml +++ b/bin/opatch.ml @@ -195,6 +195,7 @@ let main version = if verbose then Printf.printf "%S applied.\n%!" (Option.value ~default:"-" patch)) patches - with Invalid_argument msg -> Printf.eprintf "Fatal error: %s\n" msg + with Invalid_argument msg -> + Printf.eprintf "Fatal error: %s\n" msg ; exit 1 let () = main Version.v From 0a996582c5d04726f44c653aeb19d293cb26d63f Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Sat, 4 Jul 2026 09:02:03 +0200 Subject: [PATCH 2/2] use 4.11 (latest opam-repository supported version) --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index faf961e..3cc2b91 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: os: - ubuntu-latest ocaml-compiler: - - 4.08.x + - 4.11.x - 4.14.x - 5.4.x