Skip to content

Commit

Permalink
Merge pull request #6151 from rjbou/cli23
Browse files Browse the repository at this point in the history
CLI: add 2.3 in supported versions
  • Loading branch information
rjbou authored Aug 9, 2024
2 parents 158b2ec + 41c63d4 commit 25ba33c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ users)
* Bump opam-root-version to 2.2 [#5980 @kit-ty-kate]

## Global CLI
* Add cli version 2.3 [#6045 @rjbou]
* Add cli version 2.3 [#6045 #6151 @rjbou]

## Plugins

Expand Down
2 changes: 1 addition & 1 deletion src/client/opamArgTools.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ open OpamCLIVersion.Op
let cli2_0 = OpamCLIVersion.of_string "2.0"
let cli2_1 = OpamCLIVersion.of_string "2.1"
let cli2_2 = OpamCLIVersion.of_string "2.2"
let cli2_3 = OpamCLIVersion.of_string "2.2"
let cli2_3 = OpamCLIVersion.of_string "2.3"

type subplatform = [ `windows | `unix ]
type platform = [ `all | subplatform ]
Expand Down
2 changes: 1 addition & 1 deletion src/client/opamCLIVersion.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

type t = int * int

let supported_versions = [(2, 0); (2, 1); (2,2)]
let supported_versions = [(2, 0); (2, 1); (2,2); (2,3)]

let is_supported v = List.mem v supported_versions

Expand Down

0 comments on commit 25ba33c

Please sign in to comment.