-
Notifications
You must be signed in to change notification settings - Fork 40
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
Use the provided OCaml version when a match is not found #275
Conversation
This is a good idea, thanks - the tag is indeed pushed to GitHub, but the release hasn't yet been made. However, do you have code which has |
Fair enough. I should have said "I was excited about 4.13 and when I got time it was already 4.13.1." :-) |
|
I was not sure what I should do in this case when creating the current hack. How about |
I think it's enough to explicitly fail, since the exact version is basically used at the user's responsibility. Namely, like #276. |
Also use `semver.maxSatisfying` to clean up the code.
|
I am sorry but it seems that you missed the essence of this PR: I wanted to use OCaml 4.13.1, and it was not released on GitHub, and I did not want to wait for the OCaml team to create a release on GitHub when I could already run |
Got it. Well, then what remains in this PR is to use |
Okay, I just updated the PR! |
I was so excited about
4.13.1
, untilocaml/setup-ocaml
refused to run the test because it could not find the matched releases from the repoocaml/ocaml
. (At this point of time,4.13.1
has not been "released" on GitHub yet.) This PR will makeocaml/setup-ocaml
issue a warning and proceed with the given version number, instead of usingundefined
as the OCaml version which leads to mysterious error messages. In sum, this PR willundefined
, and