mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix CI
This commit is contained in:
parent
e9a095a515
commit
f7ed74386a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue