Skip to content

Commit e3b1de8

Browse files
author
Bastien Abadie
committed
Use event ref
1 parent 9a0d2c6 commit e3b1de8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .taskcluster.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ tasks:
2525
else: ${event.repository.html_url}
2626

2727
version:
28-
$if: 'head_branch[:10] == "refs/tags/"'
29-
then: {$eval: 'head_branch[10:]'}
28+
$if: 'tasks_for == "github-push" && head_branch[:10] == "refs/tags/"'
29+
then: {$eval: 'event.ref[10:]' }
3030
else: "latest"
3131

3232
in:

0 commit comments

Comments
 (0)