File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,8 @@ if ! is_truthy "$CI_DRY_RUN"; then
122122 exit 1
123123 fi
124124
125- HIGHEST_HELM_CHART_VERSION=$( echo " $YAML " | yq ' .entries["materialize-operator"][].version' | grep -v beta | sort -V | tail -n 1)
125+ # sort -V doesn't do a proper semver sort, have to manually fix that, v26.0.0~rc.6 is considered to be less than v26.0.0
126+ HIGHEST_HELM_CHART_VERSION=$( echo " $YAML " | yq ' .entries["materialize-operator"][].version' | grep -v beta | sed " s/-rc\./~rc./" | sort -V | tail -n 1)
126127
127128 if [ " $HIGHEST_HELM_CHART_VERSION " != " $BUILDKITE_TAG " ]; then
128129 echo " --- Higher helm-chart version $HIGHEST_HELM_CHART_VERSION > $BUILDKITE_TAG has already been released, not bumping terraform versions"
You can’t perform that action at this time.
0 commit comments