Skip to content

Commit

Permalink
Add OCaml 4.14.0 entries
Browse files Browse the repository at this point in the history
  • Loading branch information
avsm committed Jun 3, 2021
1 parent 2ad8e63 commit 099296e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## dev

* Add 4.14.0 entry (@avsm)
* Add support for naked pointers checker option and add it to
the 4.12+ variants (@kit-ty-kate @dra27 @avsm)
* Add a domains and effects variants for the experimental
Expand Down
9 changes: 6 additions & 3 deletions ocaml_version.ml
Original file line number Diff line number Diff line change
Expand Up @@ -165,25 +165,28 @@ module Releases = struct
let v4_13_0 = of_string_exn "4.13.0"
let v4_13 = v4_13_0

let v4_14_0 = of_string_exn "4.14.0"
let v4_14 = v4_14_0

let all_patches = [
v4_00_1; v4_01_0; v4_02_0; v4_02_1; v4_02_2;
v4_02_3; v4_03_0; v4_04_0; v4_04_1; v4_04_2;
v4_05_0; v4_06_0; v4_06_1; v4_07_0; v4_07_1;
v4_08_0; v4_08_1; v4_09_0; v4_09_1; v4_10_0;
v4_10_1; v4_10_2; v4_11_0; v4_11_1; v4_11_2;
v4_12_0; v4_13_0 ]
v4_12_0; v4_13_0; v4_14_0 ]

let all = [ v4_00; v4_01; v4_02; v4_03; v4_04;
v4_05; v4_06; v4_07; v4_08; v4_09;
v4_10; v4_11; v4_12; v4_13 ]
v4_10; v4_11; v4_12; v4_13; v4_14 ]

let unreleased_betas = []

let recent = [ v4_02; v4_03; v4_04; v4_05; v4_06; v4_07; v4_08; v4_09; v4_10; v4_11; v4_12 ]

let latest = v4_12

let dev = [ v4_13 ]
let dev = [ v4_13; v4_14 ]

let trunk =
match dev with
Expand Down
6 changes: 6 additions & 0 deletions ocaml_version.mli
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,18 @@ module Releases : sig
val v4_11 : t
(** Latest release in the 4.11.x series *)

val v4_12_0 : t
(** Version 4.12.0 *)

val v4_12 : t
(** Latest release in the 4.12.x series *)

val v4_13 : t
(** Latest release in the 4.13.x series *)

val v4_14 : t
(** Latest release in the 4.14.x series *)

val all_patches : t list
(** [all_patches] is an enumeration of all OCaml releases, including every patch release.
To get the major and minor releases with the latest patch version, use {!all} instead. *)
Expand Down

0 comments on commit 099296e

Please sign in to comment.