From 0f2fd8417342bef99b57152555bb50bcc84b6edc Mon Sep 17 00:00:00 2001 From: vcerenu Date: Thu, 2 Jun 2022 15:47:59 -0300 Subject: [PATCH] Test CI --- build-images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-images.sh b/build-images.sh index def889e8..8f2de409 100755 --- a/build-images.sh +++ b/build-images.sh @@ -2,7 +2,7 @@ WAZUH_IMAGE_VERSION=4.3.1 WAZUH_VERSION=$(echo $WAZUH_IMAGE_VERSION | sed -e 's/\.//g') WAZUH_ACTUAL_VERSION=$(curl --silent https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '\"tag_name\":' | sed -E 's/.*\"([^\"]+)\".*/\1/' | cut -c 2- | sed -e 's/\.//g') -## If wazuh manager exists in apt dev repository, change variables, if not exit 1 +## If wazuh manager exists in apt dev repository, change variables, if not, exit 1 if [ "$WAZUH_VERSION" -le "$WAZUH_ACTUAL_VERSION" ]; then IMAGE_VERSION=${WAZUH_IMAGE_VERSION} else