From dbe2d4b7c69e5559672681178c87f5a361c699ce Mon Sep 17 00:00:00 2001 From: radnov Date: Fri, 11 Oct 2024 15:15:42 +0300 Subject: [PATCH] ci: fix build docker image script for non-latest major versions [skip ci] (#18622) 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 82d9adb4f265..d9ae638b253e 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+=(