1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
This commit is contained in:
Steffen Vogel 2018-06-30 03:01:29 +02:00
parent e9a095a515
commit f7ed74386a

View file

@ -148,7 +148,7 @@ string(TIMESTAMP BUILD_DATE "%Y%m%d")
if(DEFINED ENV{CI})
string(APPEND VARIANT "-ci")
string(SUBSTRING $ENV{CI_COMMIT_SHA} 0 7 GIT_REV)
set(GIT_BRANCH ${CI_COMMIT_REF_NAME})
set(GIT_BRANCH $ENV{CI_COMMIT_REF_NAME})
else()
execute_process(
COMMAND git rev-parse --short=7 HEAD