diff --git a/dune-project b/dune-project index 33dc6313..6c192747 100644 --- a/dune-project +++ b/dune-project @@ -28,8 +28,8 @@ with [Dune](https://github.com/ocaml/dune) and hosted on ;; two dependencies on dune to work around ;; https://github.com/ocaml/dune/issues/3431 dune - ;; the tests require dune 3.8 - (dune (and (>= 3.8) :with-test)) + ;; the tests require dune 3.14 + (dune (and (>= 3.14) :with-test)) (curly (>= 0.3.0)) (fmt (>= 0.8.7)) (fpath (>= 0.7.3)) diff --git a/dune-release.opam b/dune-release.opam index a727f8dc..18fd2c0c 100644 --- a/dune-release.opam +++ b/dune-release.opam @@ -20,7 +20,7 @@ bug-reports: "https://github.com/tarides/dune-release/issues" depends: [ "ocaml" {>= "4.08.0"} "dune" {>= "2.7"} - "dune" {>= "3.8" & with-test} + "dune" {>= "3.14" & with-test} "curly" {>= "0.3.0"} "fmt" {>= "0.8.7"} "fpath" {>= "0.7.3"} diff --git a/tests/bin/distrib-name/run.t b/tests/bin/distrib-name/run.t index b4a08587..be7cc965 100644 --- a/tests/bin/distrib-name/run.t +++ b/tests/bin/distrib-name/run.t @@ -57,6 +57,7 @@ Run dune-release distrib with the uncommitted name in dune-project. dune-release: [WARNING] The repo is dirty. Uncommitted changes to files (including dune-project) will not be included in the distribution archive. + File "dune-project", line 1, characters 0-0: Error: The project name is not defined, please add a (name ) field to your dune-project file. dune-release: [ERROR] run ['dune' 'subst']: exited with 1