mirror of
https://github.com/google/cdc-file-transfer.git
synced 2026-09-13 01:10:44 +03:00
[cdc_rsync] Add build id to github workflow
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user