Skip to content

Commit

Permalink
ci: fix build docker image script for non-latest major versions [skip…
Browse files Browse the repository at this point in the history
… ci] (#18622)

Signed-off-by: Rado <[email protected]>
  • Loading branch information
radnov authored Oct 11, 2024
1 parent fd4619f commit dbe2d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dhis-2/build-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function create_rolling_tags() {
)"

if [[ "$major" -gt "$latest_major_version" ]] || \
[[ "$minor" -gt "$latest_minor_version" && "$major" -eq "$latest_major_version" ]] || \
[[ "$minor" -gt "$latest_minor_version" ]] || \
[[ "$patch" -ge "$latest_patch_version" && "$minor" -eq "$latest_minor_version" ]]; then
echo "New major, new minor or new/existing patch for the latest minor version, creating M.m and M tags."
rolling_tags+=(
Expand Down

0 comments on commit dbe2d4b

Please sign in to comment.