diff options
author | Arnstein Ressem <aressem@verizonmedia.com> | 2019-08-15 12:41:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-15 12:41:35 +0200 |
commit | 92c0a9870987c6b41905e13513912c84ed698f45 (patch) | |
tree | 036c865d9f972d7d671cd020d676fbb6d1ef816c /vespalib | |
parent | e3faffd874bc0a9c0377d8dac8b2a0fa2bdba09b (diff) | |
parent | ee04f7e2ca26c128aecad2b61955b38783d69b52 (diff) |
Merge pull request #10286 from vespa-engine/mpolden/add-vtag-fields
Add commit fields to vtag
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/component/vtag.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/component/vtag.cpp b/vespalib/src/vespa/vespalib/component/vtag.cpp index c9cfade6e28..7c67d1dd188 100644 --- a/vespalib/src/vespa/vespalib/component/vtag.cpp +++ b/vespalib/src/vespa/vespalib/component/vtag.cpp @@ -12,6 +12,8 @@ #define V_TAG_BUILDER "NOTAG" #define V_TAG_VERSION "0" #define V_TAG_ARCH "NOTAG" +#define V_TAG_COMMIT_SHA "badc0ffe" +#define V_TAG_COMMIT_DATE "0" #endif namespace vespalib { @@ -24,6 +26,8 @@ char VersionTagBuilder[] = V_TAG_BUILDER; char VersionTagPkg[] = V_TAG_PKG; char VersionTagComponent[] = V_TAG_COMPONENT; char VersionTagArch[] = V_TAG_ARCH; +char VersionTagCommitSha[] = V_TAG_COMMIT_SHA; +char VersionTagCommitDate[] = V_TAG_COMMIT_DATE; Version Vtag::currentVersion(VersionTagComponent); |