Commit 5245bf90 authored by Louis Gesbert's avatar Louis Gesbert
Browse files

Fix getting latest opam version

parent b7eff3c4
Pipeline #17545 failed with stages
in 33 seconds
......@@ -11,9 +11,8 @@ make-targets:
| jq -r 'map(.tag_name | split(".") | {"maj":.[0:2], "pat":.}) | group_by(.maj) | .[] | max | .pat | join(".")'
| tail -n +3
> ocaml-versions
- curl https://api.github.com/repos/ocaml/opam/releases
| jq -r 'map(.tag_name | split(".") | {"maj":.[0:2], "pat":.}) | group_by(.maj) | .[] | max | .pat | join(".")'
| tail -n 1
- curl https://api.github.com/repos/ocaml/opam/releases/latest
| jq -r '.tag_name'
> opam-version
- |
{ for v in $(cat ocaml-versions); do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment