mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-16 02:18:58 +02:00
fix
This commit is contained in:
parent
88aa1f0717
commit
7d9e804d69
3 changed files with 97 additions and 71 deletions
|
|
@ -18,10 +18,13 @@ if (DEFINED GIT_RELEASE)
|
|||
set(BUILD_VERSION "${GIT_TAG}")
|
||||
set(GIT_REFSPEC "${GIT_RELEASE}")
|
||||
set(IS_DEV_BUILD false)
|
||||
else()
|
||||
elseif(DEFINED GIT_COMMIT)
|
||||
string(SUBSTRING ${GIT_COMMIT} 0 10 BUILD_VERSION)
|
||||
set(BUILD_VERSION "${BUILD_VERSION}-${GIT_REFSPEC}")
|
||||
set(IS_DEV_BUILD true)
|
||||
else()
|
||||
set(BUILD_VERSION "NoGitInfo")
|
||||
set(IS_DEV_BUILD true)
|
||||
endif()
|
||||
|
||||
if (NIGHTLY_BUILD)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue