]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
seems if we dont commit the changelog git-buildpackage will not use it but instead...
authorHolger Levsen <holger@layer-acht.org>
Fri, 2 Sep 2011 14:49:44 +0000 (16:49 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 2 Sep 2011 14:49:44 +0000 (16:49 +0200)
build.py

index 813a5b8dfc7079857b3755538bbbfc7358e62ebf..f7aed159c16b38a260b0f5c3f29ee9afc299c505 100755 (executable)
--- 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_)