Bug 1419561 - Set better nightly l10n routes for repackage tasks too. r=rail

MozReview-Commit-ID: COHekNRlun3
This commit is contained in:
Justin Wood
2017-11-22 15:33:30 -05:00
parent 2da88c235c
commit 0cfa6fd72f

View File

@@ -32,6 +32,8 @@ def add_indexes(config, jobs):
job_name = '{}-{}'.format(build_platform, repackage_type)
product = job.get('index', {}).get('product', 'firefox')
index_type = 'generic'
if job['attributes'].get('nightly') and job['attributes'].get('locale'):
index_type = 'nightly-l10n'
if job['attributes'].get('nightly'):
index_type = 'nightly'
if job['attributes'].get('locale'):