Bug 1600916 - Change version field on geckoview beetmover to valid Maven version. r=jlorenzo
authorAlex Lopez <alex.lopez.zorzano@gmail.com>
Thu, 22 Oct 2020 08:26:13 +0000
changeset 554015 0abf4e0c4d227e757b0149dd72f35cc03ae54e85
parent 554014 ed777dcd51ded4a9b7decf90942a37b7c28aff4b
child 554016 dfcb025567da9e33bf724520e0146fef3d776d5f
push id129180
push userjlorenzo@mozilla.com
push dateThu, 22 Oct 2020 08:28:54 +0000
treeherderautoland@0abf4e0c4d22 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlorenzo
bugs1600916
milestone84.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1600916 - Change version field on geckoview beetmover to valid Maven version. r=jlorenzo Differential Revision: https://phabricator.services.mozilla.com/D93882
taskcluster/taskgraph/transforms/task.py
--- a/taskcluster/taskgraph/transforms/task.py
+++ b/taskcluster/taskgraph/transforms/task.py
@@ -1001,16 +1001,21 @@ def build_beetmover_push_to_release_payl
 })
 def build_beetmover_maven_payload(config, task, task_def):
     build_beetmover_payload(config, task, task_def)
 
     task_def['payload']['artifact_id'] = task['worker']['release-properties']['artifact-id']
     if task['worker'].get('artifact-map'):
         task_def['payload']['artifactMap'] = task['worker']['artifact-map']
 
+    task_def['payload']['version'] = _compute_geckoview_version(
+        task['worker']['release-properties']['app-version'],
+        task['worker']['release-properties']['build-id']
+    )
+
     del task_def['payload']['releaseProperties']['hashType']
     del task_def['payload']['releaseProperties']['platform']
 
 
 @payload_builder('balrog', schema={
     Required('balrog-action'): Any(*BALROG_ACTIONS),
     Optional('product'): text_type,
     Optional('platforms'): [text_type],