From: Holger Levsen Date: Fri, 2 Sep 2011 14:49:44 +0000 (+0200) Subject: seems if we dont commit the changelog git-buildpackage will not use it but instead... X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=aff3281e973f94679e3bf51e5bffce9ee03a4c83;p=profitbricks%2Fjenkins-build-scripts.git seems if we dont commit the changelog git-buildpackage will not use it but instead use the supplied one --- diff --git a/build.py b/build.py index 813a5b8..f7aed15 100755 --- a/build.py +++ b/build.py @@ -345,10 +345,10 @@ if __name__ == '__main__': # FIXME: are those 4 lines meaningful at all? i dont think so... # commented in by rwittler. We dont need them if we use --ignore-new # within git-buildpackage - #cmd = ['/usr/bin/git', 'add', '-A'] - #subprocess.check_call(cmd) - #cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add changelog'] - #subprocess.check_call(cmd) + cmd = ['/usr/bin/git', 'add', '-A'] + subprocess.check_call(cmd) + cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add changelog'] + subprocess.check_call(cmd) else: # so we're in the master branch... # (or maybe in other branches, but thats not specified _yet_)