@tokejepsen tokejepsen released this Aug 28, 2017 · 96 commits to master since this release

Assets 2

Publish with Targets

With this release you can now publish to specific targets with pyblish.util.

from pyblish import api, util


class plugin(api.ContextPlugin):
    targets = ["custom"]

    def process(self, context):
        self.log.info("Custom target publishing.")


api.register_plugin(plugin)

util.publish(targets=["custom"])