ocurrent / ocaml-ci

A CI for OCaml projects
https://ocaml.ci.dev
MIT License
111 stars 74 forks source link

Correct OCaml version command #844

Closed benmandrew closed 1 year ago

benmandrew commented 1 year ago

ocaml --version is unsupported before 4.03 (e.g. 4.02 which is currently tested on CI).

Change the command to ocaml -version which is universally supported and is intended as the main way to get the version.

Fixes https://github.com/ocaml/infrastructure/issues/60.