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/'):