From 3bb45d644ff54074347047258a59e12800e18ce9 Mon Sep 17 00:00:00 2001 From: Aki Sasaki Date: Tue, 5 Apr 2022 22:40:18 +0000 Subject: [PATCH] Bug 1763252 - fix version 100 mar signing format bug. r=releng-reviewers,gbrown a=release Differential Revision: https://phabricator.services.mozilla.com/D142998 --- .../gecko_taskgraph/transforms/mar_signing.py | 24 +------------------ 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/taskcluster/gecko_taskgraph/transforms/mar_signing.py b/taskcluster/gecko_taskgraph/transforms/mar_signing.py index fe139fbf86f54..27e28d2a13a75 100644 --- a/taskcluster/gecko_taskgraph/transforms/mar_signing.py +++ b/taskcluster/gecko_taskgraph/transforms/mar_signing.py @@ -49,33 +49,11 @@ def generate_partials_artifacts(job, release_history, platform, locale=None): { "taskId": {"task-reference": ""}, "taskType": "partials", - "paths": [ - f"{artifact_prefix}/{path}" - for path, version in artifacts - # TODO Use mozilla-version to avoid comparing strings. Otherwise Firefox 100 will - # be considered smaller than Firefox 56 - if version is None or version >= "56" - ], + "paths": [f"{artifact_prefix}/{path}" for path, version in artifacts], "formats": ["autograph_hash_only_mar384"], } ] - old_mar_upstream_artifacts = { - "taskId": {"task-reference": ""}, - "taskType": "partials", - "paths": [ - f"{artifact_prefix}/{path}" - for path, version in artifacts - # TODO Use mozilla-version to avoid comparing strings. Otherwise Firefox 100 will be - # considered smaller than Firefox 56 - if version is not None and version < "56" - ], - "formats": ["mar"], - } - - if old_mar_upstream_artifacts["paths"]: - upstream_artifacts.append(old_mar_upstream_artifacts) - return upstream_artifacts