From: Holger Levsen Date: Tue, 16 Apr 2013 16:47:22 +0000 (+0200) Subject: also increment version X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=3f9549cf32f1cc00a6c5b0ca806bd8837efde5bb;p=profitbricks%2Fjenkins-build-scripts.git also increment version --- diff --git a/debian_build.py b/debian_build.py index 0c5f4d0..97aef36 100755 --- a/debian_build.py +++ b/debian_build.py @@ -294,6 +294,8 @@ if __name__ == '__main__': logger.debug('Status is now:\n%s' %( gitcmd.status().strip() )) if (BUILD_JOBNAME == 'ri-docs' or BUILD_JOBNAME == 'so-docs') and GIT_BRANCH_NAME == 'master': + cmd = ['/usr/bin/dch', '-i', 'Released by jenkins.'] + subprocess.check_call(cmd) cmd = ['/usr/bin/git-dch', '-R', '-a', '--spawn-editor=none'] subprocess.check_call(cmd) cmd = ['/usr/bin/git', 'commit', '-a', '-s', '-m', 'Released by jenkins']