collect_published_version
Collects published version of workfile and increments it.
For synchronization of published image and workfile version it is required to store workfile version from workfile file name in context.data["version"]. In remote publishing this name is unreliable (artist might not follow naming convention etc.), last published workfile version for particular workfile product is used instead.
This plugin runs only in remote publishing (eg. Webpublisher).
Requires
context.data["folderEntity"]
Provides
context["version"] - incremented latest published workfile version
CollectPublishedVersion
Bases: ContextPlugin
Collects published version of workfile and increments it.
Source code in client/ayon_photoshop/plugins/publish/collect_published_version.py
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 |
|