Shorter and longer version of the build timestamp
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
42af53c190
commit
41a0a2b37c
@ -11,7 +11,8 @@ set(XTOS_COMPATIBLE_BUILD "9600")
|
||||
|
||||
# Set common XTOS version variables
|
||||
string(TIMESTAMP XTOS_VERSION_YEAR %Y)
|
||||
string(TIMESTAMP XTOS_VERSION_DATE "%d/%m/%Y %H:%M UTC" UTC)
|
||||
string(TIMESTAMP XTOS_VERSION_DATE "%Y%m%d")
|
||||
string(TIMESTAMP XTOS_VERSION_FULLDATE "%d/%m/%Y %H:%M UTC" UTC)
|
||||
|
||||
# Set latest GIT revision
|
||||
set(XTOS_VERSION_HASH "unknown")
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
#define XTOS_VERSION_ARCH "@ARCH@"
|
||||
#define XTOS_VERSION_DATE "@XTOS_VERSION_DATE@"
|
||||
#define XTOS_VERSION_FULLDATE "@XTOS_VERSION_FULLDATE@"
|
||||
#define XTOS_VERSION_YEAR "@XTOS_VERSION_YEAR@"
|
||||
|
||||
#define XTOS_COMPATIBLE_MAJOR @XTOS_COMPATIBLE_MAJOR@
|
||||
|
Loading…
Reference in New Issue
Block a user