Fix build number script

This commit is contained in:
Georg Hagen
2025-06-06 11:50:00 +02:00
parent 0b019fa31e
commit 0378e827b4

View File

@@ -18,5 +18,5 @@ function(SetBuildNr BN_SHORT BN_LONG)
# Build number is <ci_build_nr>.<date>.<time>
string(TIMESTAMP BUILD_TIMESTAMP "%y%m%d.%H%M" UTC)
set(${BN_LONG} "${BUILD_NR}.${BUILD_TIMESTAMP}" PARENT_SCOPE)
set(${BS_SHORT} "${BUILD_NR}" PARENT_SCOPE)
set(${BN_SHORT} "${BUILD_NR}" PARENT_SCOPE)
endfunction()