This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
General: Change publish template settings location #3755
Merged
+354
−92
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brief description
Publish templates (used for integration) are not defined on publish plugin settings but out of the integrator for both versioned and hero publishing.
Description
Settings for publish template resolving was moved to
project_settings/global/tools/publish
. Versioned publishing has keytemplate_name_profiles
and hero publishing has keyhero_template_name_profiles
. Code was changed in backwards compatible way: If values in new settings are empty the legacy settings source is used.Additional info
Default settings of new locations are by default empty so the transition to new settings location can be smooth and won't cause lose and breaking changes. This way it is possible to transfer settings for existing projects one by one and they start to be used from new source only if new location is used.
The settings output for versioned templates is not exactly the same
"tasks"
key has changed to"task_names"
.Transition process
Open settings UI. Repeat this on each individual project first, and keep "default project" as last.
project_settings/global/publish/IntegrateHeroVersion/template_name_profiles
is overriden (orange color for project/green color for default project) then copy the values and paste them toproject_settings/global/tools/publish/hero_template_name_profiles
.project_settings/global/publish/IntegrateAssetNew/template_name_profiles
is overriden (orange color for project/green color for default project) then copy the values and paste them toproject_settings/global/tools/publish/template_name_profiles
-> WARNING:Task names
will not be copied and must be copy -pasted individually.Testing notes: