11{% metadata_file .yamato/project.metafile %}
22---
33{% for project in projects -%}
4+ {% if project.publish == "true" -%}
45{% for package in project.packages -%}
56publish_{{ project.name }}_{{ package.name }} :
67 name : Publish Project {{project.name }} - Package {{ package.name }} to Internal Registry
@@ -17,7 +18,7 @@ publish_{{ project.name }}_{{ package.name }}:
1718 - " upm-ci~/packages/*.tgz"
1819 dependencies :
1920 - .yamato/project-pack.yml#pack_{{ project.name }}
20- - .yamato/project-tests .yml#validate_ {{ package .name }}_{{ test_platforms.first. name }}_{{ validation_editor }}
21+ - .yamato/project-publish .yml#publish_ {{ project .name }}_{{ package. name }}_dry_run
2122
2223publish_{{ project.name }}_{{ package.name }}_dry_run :
2324 name : Publish Project {{project.name }} - Package {{ package.name }} to Internal Registry (dry-run)
@@ -37,39 +38,5 @@ publish_{{ project.name }}_{{ package.name }}_dry_run:
3738 - .yamato/project-tests.yml#validate_{{ package.name }}_{{ test_platforms.first.name }}_{{ validation_editor }}
3839
3940{% endfor -%}
40-
41- publish_{{ project.name }} :
42- name : Publish ALL {{ project.name }} packages to Internal Registry
43- agent :
44- type : Unity::VM
45- image : package-ci/win10:stable
46- flavor : b1.large
47- commands :
48- - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
49- - upm-ci project publish --project-path {{ project.path }}
50- artifacts :
51- artifacts :
52- paths :
53- - " upm-ci~/packages/*.tgz"
54- dependencies :
55- - .yamato/project-pack.yml#pack_{{ project.name }}
56- - .yamato/_run-all.yml#run_all_tests
57-
58- publish_{{ project.name }}_dry_run :
59- name : Publish ALL {{ project.name }} packages to Internal Registry (dry-run)
60- agent :
61- type : Unity::VM
62- image : package-ci/win10:stable
63- flavor : b1.large
64- commands :
65- - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
66- - upm-ci project publish --project-path {{ project.path }} --dry-run
67- artifacts :
68- artifacts :
69- paths :
70- - " upm-ci~/packages/*.tgz"
71- dependencies :
72- - .yamato/project-pack.yml#pack_{{ project.name }}
73- - .yamato/_run-all.yml#run_all_tests
74-
41+ {% endif -%}
7542{% endfor -%}
0 commit comments