]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
if underscores dont work, use hyphens
authorHolger Levsen <holger@layer-acht.org>
Tue, 24 Jan 2012 18:07:11 +0000 (19:07 +0100)
committerHolger Levsen <holger@layer-acht.org>
Tue, 24 Jan 2012 18:07:11 +0000 (19:07 +0100)
debian_build.py

index 7a1e04ee578a8e3cac9b709adcfba5490311a587..49c242967226ff84c629279074f51f297f7b5aea 100755 (executable)
@@ -364,7 +364,7 @@ if __name__ == '__main__':
         new_log = 'Generated by jenkins build of %s' % git_helper.git_get_commit_id()
 
         if GIT_BRANCH_NAME == 'experimental' or GIT_BRANCH_NAME.startswith('feature/') or GIT_BRANCH_NAME.startswith('poc/') or GIT_BRANCH_NAME.startswith('bugfix/'):
-            changelog_distro ='dev_'+ GIT_BRANCH_NAME.replace("/","_")
+            changelog_distro ='dev-'+ GIT_BRANCH_NAME.replace("/","-")
         else:
             changelog_distro = options.distribution