Skip to content

Commit

Permalink
Bug 1763252 - fix version 100 mar signing format bug. r=releng-review…
Browse files Browse the repository at this point in the history
…ers,gbrown a=release

Differential Revision: https://phabricator.services.mozilla.com/D142998
  • Loading branch information
escapewindow committed Apr 5, 2022
1 parent 2d32017 commit 3bb45d6
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions taskcluster/gecko_taskgraph/transforms/mar_signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,33 +49,11 @@ def generate_partials_artifacts(job, release_history, platform, locale=None):
{
"taskId": {"task-reference": "<partials>"},
"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": "<partials>"},
"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


Expand Down

0 comments on commit 3bb45d6

Please sign in to comment.