From: Holger Levsen Date: Fri, 26 Aug 2011 10:25:09 +0000 (+0200) Subject: DATE-TIME causes DATE.orig.tar which is wrong... X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=2d0f181190df67695e636cccbb89daabd0d8adae;p=profitbricks%2Fjenkins-build-scripts.git DATE-TIME causes DATE.orig.tar which is wrong... --- diff --git a/build.py b/build.py index 8c5837e..8150362 100755 --- a/build.py +++ b/build.py @@ -283,7 +283,7 @@ if __name__ == '__main__': fh.close() if options.distribution in ('unstable', 'experimental'): - daily_date = datetime.datetime.now().strftime('%Y%m%d-%H%M%S') + daily_date = datetime.datetime.now().strftime('%Y%m%d%H%M%S') version = '%s~%s' %(pb_version, daily_date) os.unlink('debian/changelog') cmd = ['/usr/bin/git', 'log', '-n', '50']