-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
tk-multi-publish2.yml
79 lines (65 loc) · 3.33 KB
/
tk-multi-publish2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Copyright (c) 2017 Shotgun Software Inc.
#
# CONFIDENTIAL AND PROPRIETARY
#
# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
# Source Code License included in this distribution package. See LICENSE.
# By accessing, using, copying or modifying this work you indicate your
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Shotgun Software Inc.
#
# Author: Diego Garcia Huerta
# Contact: https://www.linkedin.com/in/diegogh/
#
# YOU SHOULD MERGE these entries into your settings file, as
# THIS FILE BY ITSELF WILL NOT WORK
# These are the additions to get the engine up and running with the
# default tk-apps for this environment
# ---- Substance Designer
# asset step
settings.tk-multi-publish2.substancedesigner.asset_step:
collector: "{self}/collector.py:{engine}/tk-multi-publish2/basic/collector.py"
collector_settings:
Work Template: substancedesigner_asset_work
publish_plugins:
- name: Publish to Shotgun
hook: "{self}/publish_file.py"
settings: {}
- name: Upload for review
hook: "{self}/upload_version.py"
settings: {}
- name: Begin file versioning
hook: "{engine}/tk-multi-publish2/basic/start_version_control.py"
settings: {}
- name: Publish Package to Shotgun
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_package_base.py:{engine}/tk-multi-publish2/basic/publish_package.py"
settings:
Publish Template: substancedesigner_asset_package_publish
# Note that most of these publishers are for completion, as packages and
# graphs can be exported in multitude of ways.
# With the exception of exporting textures from a graph, you most likely
# won't need all these publishers, so feel free to comment the ones
# that you/your pipeline is not interested in.
- name: Publish Package Archive to Shotgun
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_package_base.py:{engine}/tk-multi-publish2/basic/publish_package_archive.py"
settings:
Publish Template: substancedesigner_asset_package_archive_publish
- name: Publish Package as MDL to Shotgun
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_package_base.py:{engine}/tk-multi-publish2/basic/publish_package_mdl.py"
settings:
Publish Template: substancedesigner_asset_package_mdl_publish
- name: Publish Graph Output Textures to Shotgun
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_package_base.py:{engine}/tk-multi-publish2/basic/publish_graph_textures.py"
settings:
Publish Template: substancedesigner_asset_graph_textures_path_publish
Texture Format: exr
- name: Publish Graph in MDLE format to Shotgun
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_package_base.py:{engine}/tk-multi-publish2/basic/publish_graph_mdle.py"
settings:
Publish Template: substancedesigner_asset_graph_mdle_path_publish
- name: Publish Publish Graph as a preset to Shotgun
hook: "{self}/publish_file.py:{engine}/tk-multi-publish2/basic/publish_package_base.py:{engine}/tk-multi-publish2/basic/publish_graph_as_preset.py"
settings:
Publish Template: substancedesigner_asset_graph_mdle_path_publish
help_url: *help_url
location: "@apps.tk-multi-publish2.location"