Skip to content

Commit dc0d003

Browse files
committed
REL: use git commit date for version metadata
Use commit time stamp as in git-archive and versioneer.
1 parent 2a1042f commit dc0d003

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

site_scons/gitarchive.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
commit = $Format:%H$
2-
date = $Format:%ai$
2+
date = $Format:%ci$
33
refnames = $Format:%D$

site_scons/libobjcrystbuildutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def gitinfo():
3434
if proc.wait():
3535
_cached_gitinfo = {}
3636
return gitinfo()
37-
proc = Popen(['git', 'log', '-1', '--format=%H %ai'], **kw)
37+
proc = Popen(['git', 'log', '-1', '--format=%H %ci'], **kw)
3838
glog = proc.stdout.read()
3939
words = desc.strip().split('-')
4040
vtag = words[0].lstrip('v')

0 commit comments

Comments
 (0)