Skip to content

Commit 31b3000

Browse files
committed
code review fixes
1 parent 2a31a22 commit 31b3000

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

.yamato/upm-ci.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
test_trigger_editors:
22
- version: 2018.4
33
- version: 2019.3
4-
publish_editors:
4+
publish_trigger_editors:
55
- version: 2018.3
66
- version: 2018.4
77
- version: 2019.1
@@ -34,7 +34,7 @@ pack:
3434
- "upm-ci~/**/*"
3535

3636

37-
{% for editor in publish_editors %}
37+
{% for editor in publish_trigger_editors %}
3838
{% for platform in platforms %}
3939
test_{{ platform.name }}_{{ editor.version }}:
4040
name : Test version {{ editor.version }} on {{ platform.name }}
@@ -73,6 +73,21 @@ test_trigger:
7373
{% endfor %}
7474
{% endfor %}
7575

76+
publish_test_trigger:
77+
name: Publish Tests Trigger
78+
triggers:
79+
tags:
80+
only:
81+
- /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?
82+
dependencies:
83+
- .yamato/upm-ci.yml#pack
84+
{% for editor in publish_trigger_editors %}
85+
{% for platform in platforms %}
86+
- .yamato/upm-ci.yml#test_{{platform.name}}_{{editor.version}}
87+
{% endfor %}
88+
{% endfor %}
89+
90+
7691
publish:
7792
name: Publish to Internal Registry
7893
agent:
@@ -92,8 +107,5 @@ publish:
92107
- "upm-ci~/packages/*.tgz"
93108
dependencies:
94109
- .yamato/upm-ci.yml#pack
95-
{% for editor in publish_editors %}
96-
{% for platform in platforms %}
97-
- .yamato/upm-ci.yml#test_{{ platform.name }}_{{ editor.version }}
98-
{% endfor %}
99-
{% endfor %}
110+
- .yamato/upm-ci.yml#test_trigger
111+
- .yamato/upm-ci.yml#publish_test_trigger

0 commit comments

Comments
 (0)