mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 14:58:43 +00:00
hv: update versioning scheme
* introduce EXTRA_VERSION to replace RC_VERSION * add daily tag into the version information * unify the hypervisor and device model version Signed-off-by: Jack Ren <jack.ren@intel.com>
This commit is contained in:
@@ -164,14 +164,9 @@ usage(int code)
|
||||
static void
|
||||
print_version(void)
|
||||
{
|
||||
if (DM_RC_VERSION)
|
||||
fprintf(stderr, "DM version is: %d.%d-%d-%s, build by %s@%s\n",
|
||||
DM_MAJOR_VERSION, DM_MINOR_VERSION, DM_RC_VERSION,
|
||||
DM_BUILD_VERSION, DM_BUILD_USER, DM_BUILD_TIME);
|
||||
else
|
||||
fprintf(stderr, "DM version is: %d.%d-%s, build by %s@%s\n",
|
||||
DM_MAJOR_VERSION, DM_MINOR_VERSION, DM_BUILD_VERSION,
|
||||
DM_BUILD_USER, DM_BUILD_TIME);
|
||||
fprintf(stderr, "DM version is: %s-%s (daily tag:%s), build by %s@%s\n",
|
||||
DM_FULL_VERSION,
|
||||
DM_BUILD_VERSION, DM_DAILY_TAG, DM_BUILD_USER, DM_BUILD_TIME);
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user