7
7
- $let :
8
8
taskgraph :
9
9
branch : taskgraph
10
- revision : 09d4c6dec78d17beb186eef1f79c1ab712ccc433
10
+ revision : a9a010487bf10fca6dc34ba53f40d34a8ab51fc0
11
11
trustDomain : mobile
12
12
in :
13
13
$let :
@@ -80,6 +80,11 @@ tasks:
80
80
else :
81
81
$if : ' tasks_for in ["cron", "action"]'
82
82
then : ' ${push.revision}'
83
+ head_tag :
84
+ $if : ' tasks_for == "github-release"'
85
+ then : ' ${event.release.tag_name}'
86
+ else : ' '
87
+
83
88
ownTaskId :
84
89
$if : ' "github" in tasks_for'
85
90
then : {$eval: as_slugid("decision_task")}
@@ -197,6 +202,7 @@ tasks:
197
202
MOBILE_HEAD_REPOSITORY : ' ${repoUrl}'
198
203
MOBILE_HEAD_REF : ' ${head_branch}'
199
204
MOBILE_HEAD_REV : ' ${head_sha}'
205
+ MOBILE_HEAD_TAG : ' ${head_tag}'
200
206
MOBILE_REPOSITORY_TYPE : git
201
207
TASKGRAPH_BASE_REPOSITORY : https://hg.mozilla.org/ci/taskgraph
202
208
TASKGRAPH_HEAD_REPOSITORY : https://hg.mozilla.org/ci/${taskgraph.branch}
@@ -214,9 +220,6 @@ tasks:
214
220
ACTION_TASK_ID : {$json: {$eval: 'taskId'}} # taskId of the target task (JSON-encoded)
215
221
ACTION_INPUT : {$json: {$eval: 'input'}}
216
222
ACTION_CALLBACK : ' ${action.cb_name}'
217
- - $if : ' tasks_for == "github-release"'
218
- then :
219
- MOBILE_HEAD_TAG : ' ${event.release.tag_name}'
220
223
features :
221
224
taskclusterProxy : true
222
225
chainOfTrust : true
@@ -259,6 +262,7 @@ tasks:
259
262
--head-repository="$MOBILE_HEAD_REPOSITORY"
260
263
--head-ref="$MOBILE_HEAD_REF"
261
264
--head-rev="$MOBILE_HEAD_REV"
265
+ --head-tag="$MOBILE_HEAD_TAG"
262
266
--repository-type="$MOBILE_REPOSITORY_TYPE"
263
267
--tasks-for='${tasks_for}'
264
268
${extraArgs}
0 commit comments