Skip to content

Commit

Permalink
fix tag handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jhrutgers committed Sep 27, 2023
1 parent 2a09bb3 commit 04bc9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function(version_generate)
string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)([-+].*)?$" "\\3"
GIT_VERSION_PATCH "${GIT_VERSION}"
)
string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)([-+].*)?$" "\\4"
string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+)(([-+].*)?)$" "\\4"
GIT_VERSION_SUFFIX "${GIT_VERSION}"
)
else()
Expand Down

0 comments on commit 04bc9d1

Please sign in to comment.