aboutsummaryrefslogtreecommitdiffstats
path: root/messagebus/src/apps/printversion/printversion.cpp
blob: f52775d798c6a853d17037be622dcded4fb7f8b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/component/vtag.h>
#include <stdio.h>

int main(int, char **)
{
    printf("version tag: %s\n", vespalib::VersionTag);
    printf("version tag date: %s\n", vespalib::VersionTagDate);
    printf("version tag system: %s\n", vespalib::VersionTagSystem);
    printf("version tag system rev: %s\n", vespalib::VersionTagSystemRev);
    printf("version tag builder: %s\n", vespalib::VersionTagBuilder);
    printf("nice version:\n\t");
    vespalib::Vtag::printVersionNice();
    printf("\n");
    printf("currentVersion object: %s\n", vespalib::Vtag::currentVersion.toString().c_str());
    return 0;
}