Fix macOS action
This commit is contained in:
parent
fceaabcff2
commit
cd30cefd0c
1 changed files with 1 additions and 0 deletions
|
|
@ -1794,6 +1794,7 @@ execute_process(
|
||||||
COMMAND git describe --tags --always
|
COMMAND git describe --tags --always
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
OUTPUT_VARIABLE KTGDESKTOP_GIT_VERSION
|
OUTPUT_VARIABLE KTGDESKTOP_GIT_VERSION
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
)
|
)
|
||||||
string(REGEX REPLACE "^(k|v)([0-9]\\.[0-9])" "\\2" KTGDESKTOP_GIT_VERSION "${KTGDESKTOP_GIT_VERSION}")
|
string(REGEX REPLACE "^(k|v)([0-9]\\.[0-9])" "\\2" KTGDESKTOP_GIT_VERSION "${KTGDESKTOP_GIT_VERSION}")
|
||||||
if (KTGDESKTOP_GIT_VERSION)
|
if (KTGDESKTOP_GIT_VERSION)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue