From: Mark Clarkstone Date: Thu, 27 Apr 2017 21:03:54 +0000 (+0100) Subject: bintray.py: add component env override X-Git-Tag: v4.2.2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63ccad2f9a9814d42ebbc59e1a3bac5c1ae35793;p=thirdparty%2Ftvheadend.git bintray.py: add component env override --- diff --git a/support/bintray.py b/support/bintray.py index 642872835..f18dee068 100755 --- a/support/bintray.py +++ b/support/bintray.py @@ -27,6 +27,7 @@ DEBUG=False BINTRAY_API='https://bintray.com/api/v1' BINTRAY_USER=env('BINTRAY_USER') BINTRAY_PASS=env('BINTRAY_PASS') +BINTRAY_COMPONENT=env('BINTRAY_COMPONENT') BINTRAY_ORG='tvheadend' BINTRAY_PACKAGE='tvheadend' @@ -150,7 +151,7 @@ def get_bintray_params(filename, hint=None): debversion, debdistro = debversion.rsplit('~', 1) args.version = debversion args.path = 'pool/' + get_path(debversion, args.repo) + '/' + args.package - extra.append('deb_component=' + get_component(debversion)) + extra.append('deb_component=' + BINTRAY_COMPONENT or get_component(debversion)) extra.append('deb_distribution=' + debdistro) extra.append('deb_architecture=' + debarch) else: