[cdc_rsync] Add build id to github workflow

This commit is contained in:
Levon Ter-Grigoryan
2023-02-03 17:14:04 +01:00
parent aab0b7ef33
commit 84427155c7
5 changed files with 97 additions and 9 deletions
+6 -9
View File
@@ -1,10 +1,7 @@
#ifndef BUILD_VERSION
#ifndef COMMON_BUILD_VERSION_H_
#define COMMON_BUILD_VERSION_H_
#define DEV_BUILD_VERSION "DEV"
#ifdef CDC_BUILD_VERSION
#define TO_STR(arg) #arg
#define TO_STR_VALUE(arg) TO_STR(arg)
#define BUILD_VERSION TO_STR_VALUE(CDC_BUILD_VERSION)
#else
#define BUILD_VERSION DEV_BUILD_VERSION
#endif
#endif
extern const char* BUILD_VERSION;
#endif