diff --git a/utils/ci/scripts/89_check_version.sh b/utils/ci/scripts/89_check_version.sh
index 8c923258a19d1160d6220d5c001a7c8ba3725e19..ade66ac31e2f19247fbc97fcf6e90d9d162b57c8 100755
--- a/utils/ci/scripts/89_check_version.sh
+++ b/utils/ci/scripts/89_check_version.sh
@@ -39,8 +39,8 @@ if [[ $exit_status -ne 0 ]]; then
   exit 1
 fi
 
-# Check if the output is exactly the tag name
-if [[ "$version_output" == *"${TAG_NAME}" ]]; then
+# Check if the output is exactly the tag name (ignoring 'v' prefix)
+if [[ "${version_output#v}" == "${TAG_NAME#v}" ]]; then
     echo "Version is correctly set: $version_output"
 else
     echo "Version is falsely set: $version_output"