Skip to content

Commit

Permalink
grep returned
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamir91 committed Nov 7, 2023
1 parent 346a828 commit 17269e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
#fi
# Leave only digits of major and minor version in the variable
# current_cmake_version=$(echo ${current_cmake_version} | grep -oP "\d+\.\d+")
# current_cmake_version=$(echo ${current_cmake_version} | grep -oP "\d+\.\d+" | grep -oP "\d+\.\d+")
echo "Debug: current_cmake_version = $current_cmake_version"
Expand Down Expand Up @@ -94,6 +94,6 @@ jobs:
then
echo "The test PASSED, current CMake version is $CURRENT_CMAKE_VERSION and it is not higher than VERSION ${EXPECTED_CMAKE_MAJOR_VER}.${EXPECTED_CMAKE_MINOR_VER}"
else
echo "Error - The minimal CMake version required for LibRS is ${EXPECTED_CMAKE_MAJOR_VER}.${EXPECTED_CMAKE_MINOR_VER} but on this build the minimal CMake version that works is $CURRENT_CMAKE_VERSION"
echo "Error - The minimal CMake version required for LibRS is ${EXPECTED_CMAKE_MAJOR_VER}.${EXPECTED_CMAKE_MINOR_VER} but on this build the minimal CMake version that works is $current_cmake_version"
exit 1
fi

0 comments on commit 17269e2

Please sign in to comment.