File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ci-operator/step-registry/hypershift/mce/install Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ echo "$MCE_VERSION"
1515
1616MCE_CATALOG_PATH=" acm-d/mce-custom-registry"
1717_REPO=" quay.io/$MCE_CATALOG_PATH "
18- if (( $(awk 'BEGIN {print ("'" $MCE_VERSION "'" >= 2 .9 )}') )) ; then
18+ if [[ " $( printf ' %s\n ' " 2.9 " " $MCE_VERSION " | sort -V | head -n1 ) " == " 2.9" ]] ; then
1919 MCE_CATALOG_PATH=" acm-d/mce-dev-catalog"
2020 _REPO=" quay.io:443/$MCE_CATALOG_PATH "
2121fi
@@ -88,7 +88,7 @@ oc wait mcp master worker --for condition=updated --timeout=20m
8888
8989echo " Install MCE custom catalog source"
9090IMG=" ${_REPO} :${MCE_VERSION} -latest"
91- if (( $(awk 'BEGIN {print ("'" $MCE_VERSION "'" >= 2 .9 )}') )) ; then
91+ if [[ " $( printf ' %s\n ' " 2.9 " " $MCE_VERSION " | sort -V | head -n1 ) " == " 2.9" ]] ; then
9292 IMG=" ${_REPO} :latest-${MCE_VERSION} "
9393fi
9494oc apply -f - << EOF
You can’t perform that action at this time.
0 commit comments