]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
DATE-TIME causes DATE.orig.tar which is wrong...
authorHolger Levsen <holger@layer-acht.org>
Fri, 26 Aug 2011 10:25:09 +0000 (12:25 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 26 Aug 2011 10:25:09 +0000 (12:25 +0200)
build.py

index 8c5837e82ea6501974ca31431dc1d414514d3f80..8150362ff5027ee7566dd9ebd20b67d3e9e1087c 100755 (executable)
--- 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']