],
"buildcmd": [
"./configure --disable-dvbscan && make -C rpm build-doozer",
- "support/bintray.py publish filelist.txt",
+ "BINTRAY_REPO=centos support/bintray.py publish filelist.txt",
]
},
"bionic-amd64": {
BINTRAY_API='https://bintray.com/api/v1'
BINTRAY_USER=env('BINTRAY_USER')
BINTRAY_PASS=env('BINTRAY_PASS')
+BINTRAY_REPO=env('BINTRAY_REPO')
BINTRAY_COMPONENT=env('BINTRAY_COMPONENT')
BINTRAY_ORG=env('BINTRAY_ORG') or 'tvheadend'
BINTRAY_PACKAGE='tvheadend'
def get_repo(filename, hint=None):
if hint: return hint
+ if BINTRAY_REPO: return BINTRAY_REPO
name, ext = os.path.splitext(filename)
if ext == '.deb':
return 'deb'
data = open(file, 'rb').read()
resp = Bintray(bpath).put(data, binary=1)
if resp.code != 200 and resp.code != 201:
- error(10, 'File %s: HTTP ERROR "%s" %s',
- file, resp.code, resp.reason)
+ error(10, 'File %s (%s): HTTP ERROR "%s" %s',
+ file, bpath, resp.code, resp.reason)
else:
info('File %s: uploaded', file)