Commit a97f3adc authored by Louis Gesbert's avatar Louis Gesbert
Browse files

Fix

parent ac9ffad8
Pipeline #11649 failed with stages
in 12 seconds
......@@ -7,15 +7,17 @@ make-targets:
| jq -r 'map(.tag_name | split(".") | {"maj":.[0:2], "pat":.}) | group_by(.maj) | .[] | max | .pat | join(".")'
| tail -n +3
> versions
- for v in $(cat versions); do
- |
{ for v in $(cat versions); do
echo "ocaml-image-$v:";
echo " extends: .ocaml-image";
echo " variables:";
echo " OCAML_VERSION: $v";
echo;
done > ocaml-images.yml
- echo "variables:" >> ocaml-images.yml
- echo " LATEST_OCAML_VERSION: $(tail -n1 versions)" >> ocaml-images.yml
done;
echo "variables:"
echo " LATEST_OCAML_VERSION: $(tail -n1 versions)";
} > ocaml-images.yml
artifacts:
paths:
- ocaml-images-list.yml
......
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