From aff3281e973f94679e3bf51e5bffce9ee03a4c83 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 2 Sep 2011 16:49:44 +0200 Subject: [PATCH] seems if we dont commit the changelog git-buildpackage will not use it but instead use the supplied one --- build.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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_) -- 2.39.5