From: Holger Levsen Date: Thu, 1 Sep 2011 17:38:44 +0000 (+0200) Subject: pretty as it can be it seems X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=f013d6391ace51b947806401282a1caeb6976c99;p=profitbricks%2Fjenkins-build-scripts.git pretty as it can be it seems --- diff --git a/build.py b/build.py index ae3ccf2..78a258b 100755 --- a/build.py +++ b/build.py @@ -283,6 +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') version = '%s~%s' %(pb_version, daily_date) os.unlink('debian/changelog') @@ -306,7 +307,6 @@ if __name__ == '__main__': # git_log.stdout.readlines() #) - cmd = [ '/usr/bin/dch', '--create', @@ -322,7 +322,7 @@ if __name__ == '__main__': # '%s' %(git_log_output) # '%s' %(''.join(git_log.stdout.read())) - logger.debug('Trying to call: %s' %(cmd)) + logger.debug('Trying to call: %s' %(cmd)) dch = subprocess.Popen( cmd,