Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: add 2.3 in supported versions #6151

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading