Added repository name
Changed git date from epoch to present commit date
This commit is contained in:
@@ -23,7 +23,7 @@ DBCORE_API int coreRelease(void)
|
||||
printf ( "############################################################################\n" );
|
||||
printf ( "## %s\n", epicsReleaseVersion );
|
||||
printf ( "## %s\n", "Rev. " EPICS_VCS_VERSION );
|
||||
printf ( "## %s\n", "Date " EPICS_VCS_VERSION_DATE );
|
||||
printf ( "## %s\n", "Rev. Date " EPICS_VCS_VERSION_DATE );
|
||||
printf ( "############################################################################\n" );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ if (!$vcs && -d "$opt_t/.git") { # Git
|
||||
$opt_V = $result;
|
||||
$vcs = 'Git';
|
||||
}
|
||||
$cv = `git log -1 --format=%ct HEAD`;
|
||||
$cv = `git show -s --format=%ci HEAD`;
|
||||
}
|
||||
if (!$vcs && -d "$opt_t/.svn") { # Subversion
|
||||
print "== Found <top>/.svn directory\n" if $opt_v;
|
||||
@@ -131,7 +131,7 @@ if (!$vcs) {
|
||||
}
|
||||
|
||||
chomp $cv;
|
||||
$opt_C=$cv;
|
||||
$opt_C=$vcs . ': ' . $cv;
|
||||
|
||||
my $output = << "__END";
|
||||
/* Generated file, do not edit! */
|
||||
|
||||
Reference in New Issue
Block a user