From 38e44df6d9e0969522ef4eb69595224080a3286b Mon Sep 17 00:00:00 2001 From: radnov Date: Fri, 11 Oct 2024 15:18:21 +0300 Subject: [PATCH] ci: fix build docker image script for non-latest major versions [skip ci] (#18806) Signed-off-by: Rado --- dhis-2/build-docker-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhis-2/build-docker-image.sh b/dhis-2/build-docker-image.sh index 45d46c77348a..1c4940b9b623 100755 --- a/dhis-2/build-docker-image.sh +++ b/dhis-2/build-docker-image.sh @@ -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+=(