Always set SYNERGY_SNAPSHOT_INFO
This commit is contained in:
parent
98a6b0421a
commit
5f7e047484
|
@ -109,12 +109,11 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
string (TIMESTAMP SYNERGY_BUILD_DATE "%Y%m%d" UTC)
|
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")
|
if (SYNERGY_VERSION_STAGE STREQUAL "git")
|
||||||
set (SYNERGY_SNAPSHOT_INFO ".${SYNERGY_BUILD_DATE}.${SYNERGY_REVISION}")
|
set (SYNERGY_VERSION_TAG "unstable")
|
||||||
set (SYNERGY_VERSION_TAG "b${SYNERGY_BUILD_DATE}-${SYNERGY_REVISION}")
|
|
||||||
else()
|
else()
|
||||||
set (SYNERGY_SNAPSHOT_INFO "")
|
|
||||||
set (SYNERGY_VERSION_TAG "${SYNERGY_VERSION_STAGE}")
|
set (SYNERGY_VERSION_TAG "${SYNERGY_VERSION_STAGE}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue