]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
also increment version
authorHolger Levsen <holger@layer-acht.org>
Tue, 16 Apr 2013 16:47:22 +0000 (18:47 +0200)
committerHolger Levsen <holger@layer-acht.org>
Tue, 16 Apr 2013 16:47:22 +0000 (18:47 +0200)
debian_build.py

index 0c5f4d0c0f8b382ca06513efa97b1ee3dcb9ae88..97aef36cb9211e6d553154e01a93eba788bd5bda 100755 (executable)
@@ -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']