summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2019-08-15 09:52:55 +0200
committerMartin Polden <mpolden@mpolden.no>2019-08-15 11:15:15 +0200
commitee04f7e2ca26c128aecad2b61955b38783d69b52 (patch)
treea2154da676205c20c37207cfcb2a7b35f535c495 /vespalib
parent99c504e215122c6cfda72cd31063d4fa252f274b (diff)
Add commit fields to vtag
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/component/vtag.cpp4
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);