From: Holger Levsen Date: Thu, 1 Sep 2011 16:18:55 +0000 (+0200) Subject: nicer changelog for daily builds X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=0cd8998acb57ce7d300c22e6d1312a38d874487e;p=profitbricks%2Fjenkins-build-scripts.git nicer changelog for daily builds --- diff --git a/build.py b/build.py index 464eef2..b0dd798 100755 --- a/build.py +++ b/build.py @@ -324,7 +324,7 @@ if __name__ == '__main__': dch = subprocess.Popen( ' '.join(cmd), - shell=True, + shell=False, close_fds=True, stdin=git_log.stdout, stdout=subprocess.PIPE, @@ -340,6 +340,7 @@ if __name__ == '__main__': ) logger.info('debian/changelog written') + # FIXME: are those 4 lines meaningful at all? i dont think so... cmd = ['/usr/bin/git', 'add', '-A'] subprocess.check_call(cmd) cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add changelog']