feat: added woodpecker config
Reviewed-on: #1 Co-authored-by: Tobias Schmidl <tobias@schmidl.dev> Co-committed-by: Tobias Schmidl <tobias@schmidl.dev>
This commit is contained in:
parent
70dcc822fd
commit
2c822ce773
15 changed files with 129 additions and 129 deletions
|
@ -12,12 +12,7 @@ execute_process(
|
|||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
if(GIT_DESCRIBE_ERROR_CODE EQUAL 0)
|
||||
string(
|
||||
REGEX MATCH
|
||||
"^v?([0-9]+)(\\.([0-9]+))?(\\.([0-9]+))?(\\.([0-9]+))?.*$"
|
||||
_
|
||||
"${GIT_DESCRIBE_VERSION_STRING}"
|
||||
)
|
||||
string(REGEX MATCH "^v?([0-9]+)(\\.([0-9]+))?(\\.([0-9]+))?(\\.([0-9]+))?.*$" _ "${GIT_DESCRIBE_VERSION_STRING}")
|
||||
if(DEFINED CMAKE_MATCH_1)
|
||||
set(VERSION_STRING "${CMAKE_MATCH_1}")
|
||||
if(DEFINED CMAKE_MATCH_3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue