mirror of https://github.com/krallin/tini.git
- Check the exit code from git log to check if we have a version. - Add a "-dirty" suffix if the repo is dirty when the build is made.better-git-checks
parent
9b8a8a5764
commit
405eea7941
3 changed files with 25 additions and 3 deletions
@ -1,2 +1,2 @@ |
||||
#define TINI_VERSION "@tini_VERSION_MAJOR@.@tini_VERSION_MINOR@.@tini_VERSION_PATCH@" |
||||
#define TINI_GIT @tini_VERSION_GIT@ |
||||
#define TINI_GIT "@tini_VERSION_GIT@" |
||||
|
Loading…
Reference in new issue