Version now includes dirty status on exact version tags too
This commit is contained in:
@@ -22,7 +22,11 @@
|
||||
#include "version.h"
|
||||
|
||||
#ifdef GIT_TAG_NAME
|
||||
#define REXBACKLIGHT_VERSION GIT_TAG_NAME
|
||||
#ifdef GIT_DIRTY
|
||||
#define REXBACKLIGHT_VERSION GIT_TAG_NAME "-dirty"
|
||||
#else
|
||||
#define REXBACKLIGHT_VERSION GIT_TAG_NAME
|
||||
#endif
|
||||
#else
|
||||
#define REXBACKLIGHT_VERSION GIT_BRANCH_NAME "-" GIT_COMMIT_HASH
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user