From 159a736d19d06c11e4f7aca2dbb393105b4ac60b Mon Sep 17 00:00:00 2001 From: "semih.cavdar" Date: Tue, 19 Mar 2024 23:11:02 +0300 Subject: [PATCH] compare fix --- .github/workflows/version-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml index 1ad323b..fc29f6e 100644 --- a/.github/workflows/version-check.yml +++ b/.github/workflows/version-check.yml @@ -44,7 +44,7 @@ jobs: for i in "${!version_parts[@]}"; do if [ "${version_parts[i]}" -lt "${main_version_parts[i]}" ]; then echo "$version is less than $main_version" - exit 0 + exit 1 elif [ "${version_parts[i]}" -gt "${main_version_parts[i]}" ]; then echo "$version is greater than $main_version" exit 0