From 325908b924e2e5058ea1a520fc1e54d3c2d3b5be Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Mon, 13 May 2013 16:03:00 +0200 Subject: [PATCH] debian_build: seperate branch and dist with dash in experimental packages --- debian_build.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian_build.py b/debian_build.py index 64b4e53..08b40bb 100755 --- a/debian_build.py +++ b/debian_build.py @@ -227,7 +227,10 @@ if __name__ == '__main__': # reprepro uses dynamic distributions based on the distribution # value given in the package. to not interferre with experimental # squeeze package, we need to include the distribution here. - new_dist = 'dev-' + ENV['GIT_BRANCH'].replace("/","-") + ENV['DISTRIBUTION'] + new_dist = 'dev-{branch}-{dist}'.format( + branch = ENV['GIT_BRANCH'].replace("/","-"), + dist = ENV['DISTRIBUTION'], + ) dput_obj.contents.update({ 'incoming': '/srv/dev-repository/incoming/wheezy', }) -- 2.39.5