Skip to content

Commit

Permalink
Merge pull request #11 from sectheops/sweep/fix-gha-failure_9c94c
Browse files Browse the repository at this point in the history
[Sweep GHA Fix] Fix the failing GitHub Actions on d373981 (main)
  • Loading branch information
sectheops authored Feb 1, 2024
2 parents 6b38c61 + 7710220 commit 7c67f79
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ configure_file("version.config" "version.config" COPYONLY)
file(READ version.config VERSION_CONFIG)

if(VERSION_CONFIG
MATCHES
"(^|.*[^a-z])version[\t ]*=[\t ]*([0-9]+\\.[0-9]+\\.*[0-9]*)(-([a-z]+[0-9]*|dev))?.*")
if(CMAKE_MATCH_2 STREQUAL "2.13.1")
set(UPDATE_FROM_VERSION "2.13.1")
else()
# Provide an appropriate error handling or fallback behavior
endif()
MATCHES
"(^|.*[^a-z])version[\t ]*=[\t ]*([0-9]+\\.[0-9]+\\.*[0-9]*)(-([a-z]+[0-9]*|dev))?.*"
)
Expand Down

0 comments on commit 7c67f79

Please sign in to comment.