Skip to content

Commit

Permalink
Release 0.22.1 (Fix cram test)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetiot committed May 24, 2022
1 parent 9f0c364 commit 364aaa8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.22.0 (2022-05-24)
## 0.22.1 (2022-05-24)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Alternatively, see [`ocamlformat.opam`](./ocamlformat.opam) for manual build ins
Setting up your project to use the default profile and the OCamlFormat version you installed (hopefully the last one) in this `.ocamlformat` file is considered good practice:
```
profile = default
version = 0.22.0
version = 0.22.1
```

To manually invoke OCamlformat the general command is:
Expand Down
2 changes: 1 addition & 1 deletion doc/faq.mld
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The recommended way is to use a versioned default profile, such as:

{[
profile = default
version = 0.22.0
version = 0.22.1
]}

(or replace with the output of [ocamlformat --version])
Expand Down
2 changes: 1 addition & 1 deletion doc/getting_started.mld
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dune build @install
First of all, make sure you have an [.ocamlformat] file at the root of your project. Setting up your project to use the default profile and the OCamlFormat version you installed (hopefully the last one) in this [.ocamlformat] file is considered good practice:
{[
profile = default
version = 0.22.0
version = 0.22.1
]}

To manually invoke OCamlformat the general command is:
Expand Down
2 changes: 1 addition & 1 deletion test/cli/conf.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Invalid version:

Exit code is printed by hand because sed succeeding would hide the error.

$ (<a.ml ocamlformat --impl -; echo [$?]) 2>&1 | sed 's/expecting "[^"]*"/expecting "..."/g'
$ (<a.ml ocamlformat --impl -; echo [$?]) 2>&1 | sed 's/version is "[^"]*"/version is "..."/g'
ocamlformat: Error while parsing $TESTCASE_ROOT/.ocamlformat:
Project should be formatted using ocamlformat version "bad", but the installed version is "unknown"
[1]
Expand Down

0 comments on commit 364aaa8

Please sign in to comment.