From e8a9a44ff2950d097a229eb6104cf6f2537984c4 Mon Sep 17 00:00:00 2001 From: Tamir Date: Tue, 7 Nov 2023 16:09:26 +0200 Subject: [PATCH] grep uncommented --- .github/workflows/static_analysis.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static_analysis.yaml b/.github/workflows/static_analysis.yaml index 36942eac291..40a71752788 100644 --- a/.github/workflows/static_analysis.yaml +++ b/.github/workflows/static_analysis.yaml @@ -48,7 +48,7 @@ jobs: echo "$output" # Retrieve CMake minimal version from the last line of the tool output. - current_cmake_version=$(echo ${output} | grep "cmake_minimum_required") + current_cmake_version=$(echo ${output} | grep "cmake_minimum_required" | grep -oP "\d+\.\d+") #regex_pattern="VERSION [0-9]+\.[0-9]+\.[0-9]+" #if ! [[ "$current_cmake_version" =~ $regex_pattern ]];