From 36bb4b39870629e3b93e06dcf7634809417b1230 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Tue, 28 May 2013 13:56:51 +0200 Subject: [PATCH] debian_build: ENV['GIT_BRANCH'] may include origin as prefix, use local_branch instead --- debian_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian_build.py b/debian_build.py index 3956966..f3f1b2f 100755 --- a/debian_build.py +++ b/debian_build.py @@ -208,7 +208,7 @@ if __name__ == '__main__': )) exit_error() - new_dist = 'dev-{0}'.format(ENV['GIT_BRANCH'].replace("/", "-")) + new_dist = 'dev-{0}'.format(local_branch.replace("/", "-")) new_version = '{version}~experimental{date}+{build}+{commit}'.format( version = curr_version, date = daily_date, -- 2.39.5