From: Mathias Klette Date: Mon, 3 Sep 2012 14:41:28 +0000 (+0200) Subject: output the whole generated changelog file X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=e8952e0a9b2107a6ffa09813c87dfdd1cfcf1a20;p=profitbricks%2Fjenkins-build-scripts.git output the whole generated changelog file --- diff --git a/debian_build.py b/debian_build.py index 2940c92..b17bb69 100755 --- a/debian_build.py +++ b/debian_build.py @@ -469,6 +469,10 @@ if __name__ == '__main__': cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add new changelog entry'] subprocess.check_call(cmd) + # let me see the whole changelog now: + for line in fileinput.input('debian/changelog'): + logger.debug('debian/changelog: %s' %(line.strip())) + # set pb_suite which GitBuildPackage() will turn into PB_SUITE # if we wrote a changelog entry, use that one if GIT_BRANCH_NAME.startswith('feature/') or GIT_BRANCH_NAME.startswith('poc/') or GIT_BRANCH_NAME.startswith('bugfix/') or GIT_BRANCH_NAME == 'develop' or GIT_BRANCH_NAME == 'pre-staging' or GIT_BRANCH_NAME.startswith('release/'):