Skip to content

Commit 300ce62

Browse files
committed
Display a warning when using one of the pre-releases of opam 2.3.0
1 parent d4c6a48 commit 300ce62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

repo

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ upstream: "https://github.com/ocaml/opam-repository/tree/master/"
44
announce: [
55
"""
66
[WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)
7-
""" {(opam-version >= "2.1.0~~" & opam-version < "2.1.6") | opam-version < "2.0.10" | (opam-version >= "2.2.0~~" & opam-version < "2.2.1")}
7+
""" { opam-version < "2.0.10" |
8+
(opam-version >= "2.1.0~~" & opam-version < "2.1.6") |
9+
(opam-version >= "2.2.0~~" & opam-version < "2.2.1") |
10+
(opam-version >= "2.3.0~~" & opam-version < "2.3.0") }
811
"""
912
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
1013
""" {opam-version >= "2.0.10" & opam-version < "2.1.0~~"}

0 commit comments

Comments
 (0)