parent
c8d622c43d
commit
7d023fefc9
|
@ -187,8 +187,8 @@ def nightly_to_production_app(is_staging, version_name):
|
|||
build_task_id,
|
||||
taskcluster_apk_paths,
|
||||
channel='production', # Since we're publishing to the "production" app, we need to sign for production
|
||||
index_channel='nightly',
|
||||
is_staging=is_staging,
|
||||
publish_to_index=False,
|
||||
)
|
||||
|
||||
push_task_id = taskcluster.slugId()
|
||||
|
|
|
@ -468,20 +468,21 @@ class TaskBuilder(object):
|
|||
)
|
||||
|
||||
def craft_release_signing_task(
|
||||
self, build_task_id, apk_paths, channel, is_staging, index_channel=None
|
||||
self, build_task_id, apk_paths, channel, is_staging, publish_to_index=True
|
||||
):
|
||||
index_channel = index_channel or channel
|
||||
staging_prefix = '.staging' if is_staging else ''
|
||||
|
||||
routes = [
|
||||
"index.project.mobile.fenix.v2{}.{}.{}.{}.{}.latest".format(
|
||||
staging_prefix, index_channel, self.date.year, self.date.month, self.date.day
|
||||
),
|
||||
"index.project.mobile.fenix.v2{}.{}.{}.{}.{}.revision.{}".format(
|
||||
staging_prefix, index_channel, self.date.year, self.date.month, self.date.day, self.commit
|
||||
),
|
||||
"index.project.mobile.fenix.v2{}.{}.latest".format(staging_prefix, index_channel),
|
||||
]
|
||||
if publish_to_index:
|
||||
staging_prefix = '.staging' if is_staging else ''
|
||||
routes = [
|
||||
"index.project.mobile.fenix.v2{}.{}.{}.{}.{}.latest".format(
|
||||
staging_prefix, channel, self.date.year, self.date.month, self.date.day
|
||||
),
|
||||
"index.project.mobile.fenix.v2{}.{}.{}.{}.{}.revision.{}".format(
|
||||
staging_prefix, channel, self.date.year, self.date.month, self.date.day, self.commit
|
||||
),
|
||||
"index.project.mobile.fenix.v2{}.{}.latest".format(staging_prefix, channel),
|
||||
]
|
||||
else:
|
||||
routes = []
|
||||
|
||||
capitalized_channel = upper_case_first_letter(channel)
|
||||
return self._craft_signing_task(
|
||||
|
|
Loading…
Reference in New Issue