Skip to content

Commit

Permalink
fix version detection
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Kolberg <[email protected]>
  • Loading branch information
amdprophet committed Nov 8, 2024
1 parent cf3b879 commit 4a929ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/detect_version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function(detect_version _artifact_bin _working_dir)

message(STATUS "Version output: ${_version_output}")

string(REGEX MATCH ".* v([0-9]+\.[0-9]+\.[0-9]+)\-sumo\-([0-9]+)\-.*" _ ${_version_output})
string(REGEX MATCH ".* ([0-9]+\.[0-9]+\.[0-9]+)\-sumo\-([0-9]+)\-.*" _ ${_version_output})

if(NOT CMAKE_MATCH_COUNT EQUAL 2)
message(FATAL_ERROR "Could not parse version information from version output")
Expand Down

0 comments on commit 4a929ea

Please sign in to comment.