From: Holger Levsen Date: Thu, 1 Sep 2011 16:06:16 +0000 (+0200) Subject: nice changelog for daily builds X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=0a1b937960a366182fba183c2fc98088cb7f8fb7;p=profitbricks%2Fjenkins-build-scripts.git nice changelog for daily builds --- diff --git a/build.py b/build.py index ab821f3..c7c7f9f 100755 --- a/build.py +++ b/build.py @@ -286,7 +286,7 @@ if __name__ == '__main__': 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'] + cmd = ['/usr/bin/git', 'log', '--since=yesterday', '--abbrev-commit', '--format=format:"%cD -- %aN%n[%h] %s%n"'] git_log = subprocess.Popen( cmd, shell=False,