Update logic for versions

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Petr Kalis 2025-08-21 11:34:19 +02:00 committed by GitHub
parent 13e1cc7103
commit 60e6d4df2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,9 +36,10 @@ class PushToProject(load.ProductLoaderPlugin):
)
project_name = filtered_contexts[0]["project"]["name"]
version_ids = []
for context in filtered_contexts:
version_ids.append(context["version"]["id"])
version_ids = {
context["version"]["id"]
for context in filtered_contexts
}
args = get_ayon_launcher_args(
push_tool_script_path,