mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-06 05:12:26 +08:00
Always set SYNERGY_SNAPSHOT_INFO
This commit is contained in:
@@ -109,12 +109,11 @@ else()
|
||||
endif()
|
||||
|
||||
string (TIMESTAMP SYNERGY_BUILD_DATE "%Y%m%d" UTC)
|
||||
set (SYNERGY_SNAPSHOT_INFO ".b${SYNERGY_BUILD_NUMBER}.${SYNERGY_REVISION}")
|
||||
|
||||
if (SYNERGY_VERSION_STAGE STREQUAL "git")
|
||||
set (SYNERGY_SNAPSHOT_INFO ".${SYNERGY_BUILD_DATE}.${SYNERGY_REVISION}")
|
||||
set (SYNERGY_VERSION_TAG "b${SYNERGY_BUILD_DATE}-${SYNERGY_REVISION}")
|
||||
set (SYNERGY_VERSION_TAG "unstable")
|
||||
else()
|
||||
set (SYNERGY_SNAPSHOT_INFO "")
|
||||
set (SYNERGY_VERSION_TAG "${SYNERGY_VERSION_STAGE}")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user