diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-05 14:27:58 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-05 14:27:58 -0500 |
commit | 67ce33430c1f37f0fa7da62e5bd055c5a00b614d (patch) | |
tree | 3357a0a2fd100f8dbf65e01ae1272770852c3e23 /acprep | |
parent | 15555d497f56e4b4d39e9a14f74b2c82cce52b90 (diff) | |
parent | 09ace752d604d5afce698f7cc240e1a83cee934d (diff) | |
download | fork-ledger-67ce33430c1f37f0fa7da62e5bd055c5a00b614d.tar.gz fork-ledger-67ce33430c1f37f0fa7da62e5bd055c5a00b614d.tar.bz2 fork-ledger-67ce33430c1f37f0fa7da62e5bd055c5a00b614d.zip |
Merge branch 'next'
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -385,7 +385,7 @@ class PrepareBuild(CommandLineApp): def current_version(self): if not self.current_ver: if exists('.git') and isdir('.git'): - date = self.get_stdout('git', 'log', '--format=%ci', 'HEAD^..HEAD') + date = self.get_stdout('git', 'log', '--format=%ci', '-1', 'HEAD') date = re.sub(" [-+][0-9][0-9][0-9][0-9]$", "", date) when = datetime.datetime.strptime(date, "%Y-%m-%d %H:%M:%S") self.current_ver = when.strftime("%Y%m%d_%H%M%S") |